home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-27 | 116.1 KB | 2,298 lines |
-
-
-
-
-
-
- ----------------------------------------
-
- CADET -the Cad Text Editor (TM)
-
- Version 5.0, Shareware Edition
-
- User's Manual
-
- ----------------------------------------
-
-
-
- Copyright 1990, 1991, 1992, 1993 Steve Waskow
-
- ALL RIGHTS RESERVED
-
-
-
-
-
- _______
- ____|__ | (R)
- --| | |-------------------
- | ____|__ | Association of
- | | |_| Shareware
- |__| o | Professionals
- -----| | |---------------------
- |___|___| MEMBER
-
-
-
-
-
-
- ----------------------------------------
- Wasco Technical Software
- 1211 Grand Junction Drive
- Katy, TX 77450 USA
- ----------------------------------------
-
- Tel: 713-392-1359 Fax: 713-392-1073
- CompuServe: 72020,2031 (Steve Waskow)
- Internet: 72020.2031@compuserve.com
-
-
- D I S C L A I M E R A N D L I M I T O F L I A B I L I T Y
- -----------------------------------------------------------------
-
- STEVE WASKOW AND WASCO TECHNICAL SOFTWARE MAKES NO WARRANTY OF ANY KIND, EITHER
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THIS
- SOFTWARE AND ACCOMPANYING DOCUMENTATION.
-
- IN NO EVENT SHALL STEVE WASKOW OR WASCO TECHNICAL SOFTWARE BE LIABLE FOR ANY
- DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION,
- LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING OUT OF THE USE
- OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF STEVE WASKOW OR WASCO TECHNICAL
- SOFTWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-
-
- C O P Y R I G H T N O T I C E A N D T R A D E M A R K S
- -------------------------------------------------------------
-
- This product, including all supporting software programs, files and printed
- documentation, is copyrighted and all rights are reserved by Steve Waskow,
- Wasco Technical Software. Unauthorized duplication and/or distribution is a
- violation of U.S. copyright law and international copyright agreements.
-
- Portions of the software are Copyright 1989, 1990 by Acropolis Software, and
- are used and distributed under license to Wasco Technical Software.
-
- Copyright 1990, 1991, 1992, 1993 Steve Waskow
- All Rights Reserved
- Wasco Technical Software
-
- CADET (TM) and CADET - the CAD Text Editor (TM) are trademarks of Wasco
- Technical Software.
-
- AutoCAD (R) & AutoLISP (R) are registered trademarks of Autodesk, Inc.
-
- Other brand and product names are mentioned herein, which are trademarks and
- registered trademarks of their respective owners. These mentions are of an
- editorial nature only, with no intention of endorsement or infringement.
-
-
- T A B L E O F C O N T E N T S
- ---------------------------------
-
- 1.0 INTRODUCTION 5.0 RUNNING CADET FROM DOS
- 2.0 QUICK START INSTRUCTIONS 6.0 USING THE CADET EDITOR
- 3.0 INSTALLATION AND CONFIGURATION 6.1 CURSOR MOVEMENT
- 3.1 SYSTEM REQUIREMENTS 6.2 MOUSE SUPPORT
- 3.2 INSTALLATION 6.3 INSERT/OVERWRITE MODE
- 3.3 CONFIGURATION 6.4 EDITOR SETTINGS
- 3.4 NETWORKING CADET 6.5 STATUS LINES
- 3.5 USING A RAM DISK WITH CADET 6.6 SPECIAL CHARACTERS
- 3.6 INSTALLING CADET IN WINDOWS 6.7 PULL-DOWN MENUS
- 3.7 USING A CADET BATCH FILE 6.8 PICK LISTS
- 3.8 AUTOCAD'S SUPPORT PATH 6.9 SORTING ORDER
- 3.9 FIRST TIME USERS 6.10 DELETING TEXT
- 4.0 USING CADET IN AUTOCAD 6.11 DELETING TEXT LINES
- 4.1 CADET FUNCTIONS IN BRIEF 6.12 INSERTING TEXT LINES
- 4.2 LOADING CADET 6.13 BLOCK OPERATIONS, CUT-AND-PASTE
- 4.3 THE CADET COMMAND LINE MENU 6.14 SEARCH-AND-REPLACE, FIND TEXT
- 4.4 CADET KEYBOARD SHORTCUTS 6.15 CHANGING CASE, HEIGHT AND STYLE
- 4.5 CADET-CREATE TABLE 6.16 CHANGING LINE SPACING
- 4.6 CADET-NOTES 6.17 IMPORTING AND EXPORTING TEXT
- 4.7 CADET-MULTITEXT 6.18 PRINTING
- 4.8 CADET-PLUSTEXT 6.19 SPELL CHECKING
- 4.9 CADET-IMPORT 6.20 WORD WRAP AND REFORMAT
- 4.10 CADET-ALIGNTEXT 6.21 ZOOM TOGGLE
- 4.11 CADET-JUSTIFYTEXT 6.22 VIEW RELATIVE TEXT POSITIONS
- 4.12 CADET-SETTEXT 6.23 FILE AND EXIT FUNCTIONS
- 4.13 CADET-EDIT NOTES 7.0 QUICK COMMAND REFERENCE
- 4.14 CADET-EDIT TABLE 7.1 AUTOCAD FUNCTIONS
- 4.15 CADET-EDIT ATTRIBUTES 7.2 EDITOR CURSOR MOVEMENTS
- 4.16 CADET-EDIT 7.3 SPECIAL SYMBOLS AND CHARACTERS
- 4.17 CADET-EDIT GLOBAL 7.4 EDITOR SETTINGS
- 4.18 CADET-EXTERNAL FILE 7.5 EDITING KEYS AND COMMANDS
- 4.19 CADET-OPTIONS 8.0 PROBLEMS AND ERROR MESSAGES
-
- 1.0 INTRODUCTION
- =================
- Cadet is a professional software system which allows you to create, edit and
- spell check text from AutoCAD or DOS. In AutoCAD, Cadet can create and edit
- text tables and drawing notes, and edits attributes as easily as text. Other
- Cadet utilities for AutoCAD allow you to import and export text and text
- tables, change text justifications, align crooked text columns, add to existing
- text, set text defaults by pick, and enter multiple text lines at any spacing.
-
- The Cadet editor is a full-screen text editor with mouse support, pull-down
- menus, pick lists and more, capable of handling any size file or any number of
- AutoCAD text entities which can fit in memory. Cadet's many word processing
- features include search and replace, cut and paste, word wrap, full
- justification, automatic indentation, and an integrated spelling checker.
-
- 2.0 QUICK START INSTRUCTIONS
- =============================
- If you are the type of individual who likes to jump right in, the following
- instructions will get you off to a quick start. We do recommend, however, that
- you review the manual before attempting to use Cadet extensively.
-
-
- QUICK INSTALLATION
- 1. Insert the Cadet program diskette into drive A (or B).
- 2. Enter "A:" (or "B:") to make it the default drive.
- 3. Type "INSTALL" and press [Enter].
- 4. Follow the on-screen instructions.
-
- QUICK START
- o To use Cadet from the AutoCAD command line, type "CADET" and press
- [Enter], just like any other AutoCAD command.
- o To use Cadet from the DOS command prompt, change to the Cadet directory,
- type "CADET", press [Enter], and give it a file name.
-
- 3.0 INSTALLATION AND CONFIGURATION
- ===================================
- 3.1 SYSTEM REQUIREMENTS
- ------------------------
- Cadet's system requirements are basically the same as AutoCAD's. The minimum
- system supported is a 286 IBM compatible with 640K RAM, math chip, hard drive,
- and MS-DOS 3.1 or higher. Cadet currently supports AutoCAD R10 286 DOS with
- Extended AutoLISP, R10 386 DOS, R11 286 DOS with Extended AutoLISP, R11 386
- DOS, R11 Windows, R12 386 DOS, R12 Windows, and should work with future
- releases as well. Cadet runs as a "Windows Aware" DOS application in Microsoft
- Windows 3.1, 386 Enhanced Mode.
-
- 3.2 INSTALLATION
- -----------------
- Cadet's installation/configuration program is named INSTALL.EXE. Log onto the
- drive and directory which contains Cadet and enter "INSTALL" at the DOS prompt.
- The program first prompts you to choose Installation or Configuration. For new
- installations or upgrades, enter "I" for Installation.
-
- The installation process begins with a search of your hard drives to locate
- existing AutoCAD support files. No files are modified during this initial
- search. The information gathered allows INSTALL to automate installation for
- single, multiple and even mixed AutoCAD versions. Once the search is complete,
- you will be asked to name a directory for Cadet. It is best to place Cadet in
- its own directory, so in most cases, this should simply be "C:\CADET". It is
- not necessary to install Cadet on your AutoCAD path.
-
- After copying Cadet's files into the named directory, INSTALL's next step is to
- make minor modifications to your ACAD.PGP and ACAD.LSP files. You will be
- prompted before any modifications are actually made. The first file modified
- is ACAD.PGP, into which INSTALL adds a single command line. The following is
- an example of the command INSTALL adds. Note that the 300000 byte shell size
- shown in the example is a default only used for 286 versions of AutoCAD.
- Shell sizes are ignored by 386 and Windows versions of AutoCAD, so you will
- find it set to zero in such installations.
-
- CADET5,C:\CADET\CADET,300000,*,4
-
- Next modified is ACAD.LSP. If you do not have an ACAD.LSP file, one will be
- created. INSTALL adds just a single line of code to the bottom of the file:
-
- (if (= (load "C:\\CADET\\CADET" "f") "f") (princ " *<CADET load failed>* "))
-
-
- Cadet can not be installed directly into a protected ACAD.LSP file, so the
- installation program creates a "wrapper" if one is encountered. This is a
- relatively simple process with no ill effects. First, the protected ACAD.LSP
- file is renamed to ACADn.LSP, where n equals 1 (as in ACAD1.LSP) or the next
- higher number which will yield a unique file name. INSTALL then creates a new
- ACAD.LSP file containing load commands for both the renamed original ACAD.LSP
- and CADET.LSP.
-
- INSTALL's next prompt is a request to do a detailed configuration. You do not
- have to perform this step now, at this point Cadet is ready to run as is. You
- can re-run INSTALL in Configuration mode at any later time. If you choose to
- continue, see the following section for more information.
-
- 3.3 CONFIGURATION
- ------------------
- Cadet's configuration can be performed at the end of the initial installation
- process, and can be modified at any time by running Cadet's INSTALL.EXE
- program. Just change to the Cadet directory and enter "INSTALL" at the DOS
- prompt. When prompted, enter "C" for Configuration.
-
- CONFIGURATION VARIABLES
- The first configuration screen shows a table of current settings. Navigate
- through the table with the enter, tab or cursor keys. As each item is
- highlighted, you are given an explanation of your choices and a prompt
- defaulting to the current setting. Although most configuration choices are
- straightforward, we discuss a few in greater detail.
-
- Typematic Rate Accelerator
- Cadet has a built-in typematic rate accelerator, which speeds up cursor
- movements. Cadet determines, to the extent possible, if your system BIOS
- supports acceleration and enables it accordingly. The Cadet installation
- allows you to override defaults. You can enable or disable the accelerator,
- set a default speed, or even make an acceleration permanent. If enabled, you
- can change speeds inside the editor.
-
- Symbol Translation
- Historically, AutoCAD used a dual standard for degree, plus/minus and circle
- diameter symbols. AutoCAD's %%d, %%p and %%c character codes has always been
- the recommended method. Yet, R10 dimensioning produces %%127, %%128 and %%129,
- directly referencing the font shape numbers. Since R11, dimensioning produces
- the simpler character codes, but R11 fonts number the shapes as before. More
- recently, R12 standard fonts use special labels, instead of numbers, to define
- these particular symbols. R12 postscript fonts follow more conventional ASCII
- definitions. To maintain downward compatibility and to assist in updating
- older drawings, the Cadet editor can translate %%127, %%128 and %%129 codes to
- %%d, %%p and %%c. This translation can be disabled if problems arise with
- postscript or other fonts which deviate from the historical symbol definitions.
-
- Dictionary Cache
- Cadet's spelling checker sets up a high speed dictionary cache in memory when
- running. The default and recommended cache size is 511 blocks (each block = 96
- bytes of memory). A bigger cache can increase performance on slow hard drives.
- A smaller cache allows Cadet more memory for text, allowing it to edit larger
- files. In fact, the cache is automatically downsized to load files which would
- not otherwise fit in memory, but the default cache is maintained for new files.
- The default cache can be set to 0 or any value between 100 and 1023. Zero
-
-
- turns the cache off. Sorting Coordinates The sorting coordinate variable
- controls which text coordinates are used for row and column sorting in MIXED
- editing modes. Cadet can use either text insert points or lower left text
- coordinates. By default, text insert points are used. From AutoCAD, you can
- use Cadet's Options command to temporarily change which coordinates are used.
-
- Text Pitch Factor
- When creating new text with Cadet, the default vertical spacing between lines
- is Cadet's text pitch factor times the text height. Cadet routines allow you
- to enter any pitch you desire at execution time, but customizing the default
- can save keystrokes. The default text pitch factor is 1.619, which matches the
- pitch DTEXT produces with most AutoCAD fonts. Values of less than 1.0 overlap
- text, values of 2.0 or greater yield a double- spaced look. Cadet's Options
- command can make temporary adjustments.
-
- Table Tolerance Factor
- Cadet sorts existing AutoCAD text entities into rows and columns based on their
- XY drawing coordinates. A Table Tolerance Factor (TTF) is used to allow a
- certain amount of misalignment in the row and column positions. This is
- especially important in the Cadet-Edit Table interface, which expects
- reasonably aligned text and corrects misalignments after editing. Cadet uses
- 0.5 x the TTF x the average text height for vertical tolerance, and 1.5 x the
- TTF x the average text height for horizontal tolerance.
-
- The default TTF is 1.0, you can tighten or relax it to any value between 0.1
- and 2.0. Smaller values tighten the tolerance, larger values loosen it. For
- instance, to tighten the tolerance to 0.33 times text height vertically and
- 0.99 times text height horizontally, use a value of 0.66 (0.5 x 0.66 = 0.33
- vertical, 1.5 x 0.66 = 0.99 horizontal). From AutoCAD, you can use Cadet's
- Options command to make temporary adjustments to the factor used.
-
- Edit Block Text Constants (R11+)
- Supplementing Cadet's ability to edit block attributes, Cadet's MIXED editing
- modes have the ability to edit and spell check constant attributes, nested
- attributes, and ordinary text found within blocks and bound X-Ref drawings,
- regardless of the depth of block or X-Ref nesting. Although it is normally on,
- in some cases you may want to temporarily disable this feature to avoid the
- additional overhead and REGENS required by changes to block definitions.
- Cadet's Options command can turn this feature off at any time.
-
- When you are finished editing these and other items in the configuration table,
- press [F9] for a printout, [F10] to save changes, or [Esc] to abort.
-
- CADET COMMAND NAMES
- The second configuration screen allows you to change the "shortcut" command
- names used to access Cadet functions in AutoCAD. The main purpose of doing so
- is to resolve conflicts with other custom routines. Keyboard access to Cadet
- is provided by AutoLISP functions. In general, ADS routines and external
- command defined in ACAD.PGP dominate over AutoLISP functions of the same name.
- AutoLISP functions dominate over duplicate named ACAD.PGP command aliases. In
- the case of coinciding AutoLISP functions, the last one loaded will dominate.
-
- If one of Cadet's commands brings up an unexpected routine, or if you loose a
- favorite routine to Cadet, rename the conflicting Cadet command. Be sure to
- avoid command names and function names reserved by AutoCAD. If necessary, use
- [F5] to restore the defaults. It is always a good idea to use [F9] to get a
-
-
- printout of the revised command names for future reference. When you are
- finished, press [F10] to save the changes, or [Esc] to abort.
-
- CADET COLOR CONFIGURATION
- The final configuration screen allows you to customize Cadet's screen colors.
- A sample Cadet screen is displayed, and a list of Cadet screen color areas.
- Use the [Up] and [Down] cursors to navigate the list, and the [+] or [-]
- cursors to modify colors. Any color changes are immediately reflected in the
- sample Cadet screen. You can also choose from one of nine predefined color
- sets by using the [F4] or [F5] function keys to cycle through the list. Press
- [F10] to save your color set, or [Esc] to abandon the color customization.
-
- This concludes the Cadet configuration process. Cadet's configuration defaults
- are stored in the files CADET.CFG and CADETLSP.CFG. Both Cadet and INSTALL
- first look for these files in the path set by the DOS environment variable
- CADET (see NETWORKING CADET). If the CADET variable is absent or its path does
- not contain configuration files, Cadet and INSTALL will then use configuration
- files located in the Cadet program directory. Note, Cadet's configuration
- files should never be edited directly - use INSTALL to maintain them.
-
- 3.4 NETWORKING CADET
- ---------------------
- Cadet can be installed and used in a shared network directory, subject to your
- license agreement. With the exception of certain files, Cadet functions as
- expected with MS-DOS's SHARE.EXE and/or MS-DOS compatible network software (see
- notes below). The specific exceptions are temporary files created by Cadet,
- and the user dictionary CADUSER.DIC. The following procedure outlines the
- method for installing Cadet and handling these files on a network.
-
- First, use INSTALL to install Cadet into the shared network directory from any
- AutoCAD workstation. If your network maintains common ACAD.PGP and ACAD.LSP
- files in a shared network directory, be sure to allow Cadet to locate these and
- make the necessary modifications at this time. We will deal with individual
- workstation ACAD.LSP and ACAD.PGP files later.
-
- Once you have completed Cadet's installation, set up or choose a private
- directory for each networked Cadet user. These private directories will be
- used to house the Cadet files which cannot reside public. It may be
- advantageous to set up directories in a manner which allows each user to access
- their private directory by a common path name. This can be accomplished
- through network directory mapping or the use of local drives. Generally, you
- will get better performance from Cadet if local drives are used, but individual
- network directories - such as home directories - can be used as well. Once
- the private directories are ready, copy the CADUSER.DIC file from the Cadet
- network directory into each.
-
- To allow users to maintain individual Cadet configurations, copy the files
- CADET.CFG and CADETLSP.CFG into the private directories as well. This is
- optional, configuration files in the Cadet network directory can be shared.
-
- The next step is to provide a means for Cadet to recognize the private
- directories. This is done by using a SET command at each workstation to assign
- its private directory path to the DOS environment variable CADET. The SET
- command can be added to workstation AUTOEXEC.BAT files, the batch file or files
- used to start AutoCAD, or to login scripts if your network supports such
- practices. Cadet recognizes either slashes or backslashes in the path string.
-
-
- Terminating slashes or backslashes are not required. For example, if you are
- using the path C:\CADET on local drives as the private directories, add:
-
- SET CADET=C:\CADET
-
- If you are using network directories mapped to a drive letter (in this example,
- the G: home directory), you would add the following:
-
- SET CADET=G:
-
- If you maintain central ACAD.PGP and ACAD.LSP files in a shared network
- directory, your installation is complete. Otherwise, perform the following
- steps from each workstation which maintains individual ACAD.LSP and ACAD.PGP
- files. Log into the network directory where Cadet was installed and execute
- the Cadet INSTALL program. When prompted, choose Installation mode and name
- the current Cadet network directory for the destination. Used in this manner,
- INSTALL does not actually reinstall its files, but will search the local hard
- drives to locate and modify ACAD.LSP and ACAD.PGP files as required. If you
- provided for individual Cadet configuration files, users can also configure
- Cadet to their needs before exiting the INSTALL program.
-
- Network Notes:
-
- 1. Networks with central server architecture often provide sharing services
- on server drives through their own network shells. In contrast,
- peer-to-peer networks generally rely on the use of MS-DOS's SHARE.
- 2. Although not necessary with the proper network software, the main
- dictionary, CADET.DIC, can be relocated into private directories as well.
-
- 3.5 USING A RAM DISK WITH CADET
- --------------------------------
- Cadet transfers text data to and from AutoCAD drawings via small disk files.
- These and other temporary files are written to the Cadet directory by default,
- but you can configure Cadet to use any alternate path, such as a ram disk.
-
- The one reason to consider a ram disk is speed. If you have a slow hard drive,
- you can dramatically increase Cadet's performance in AutoCAD by using a ram
- disk for temporary files. Cadet dictionaries may also be located on this
- alternate path. We describe the procedures for both options.
-
- The first requirement for either option is to add a line in your AutoCAD
- start-up batch file or AUTOEXEC.BAT file to set the environment variable CADET
- to your chosen path. Cadet recognizes either slashes or backslashes in the
- path string. Terminating slashes or backslashes are not required. For
- example, to use the root directory of ram disk E:, add:
-
- SET CADET=E:\
-
- USING A RAM DISK FOR TEMPORARY FILES
- Using a ram disk for Cadet's temporary files yields a noticeable improvement in
- speed. This option requires a ram disk with 128,000 to 512,000 bytes free
- space, depending on the amount of text normally edited. The lower figure is
- generally adequate for normal use, but you will want to avoid the possibility
- of running out of room. The only other requirement is adding the SET command
- to a batch file as previously described.
-
-
- RUNNING CADET DICTIONARIES IN A RAM DISK
- Cadet's built-in cache makes its spell checker quite fast in most environments.
- A ram disk should be considered only if you need a speed increase due to a slow
- hard drive, or if you lack sufficient base memory for a proper size cache.
- Either or both CADET.DIC and CADUSER.DIC can be located in a ram disk. The ram
- disk must be large enough to hold these and Cadet's temporary files. First,
- add the SET command to a batch file as described above. Next, modify your
- AUTOEXEC.BAT file, adding commands to copy the desired dictionary files to the
- ram disk at boot-up. For example:
-
- COPY C:\CADET\CADET.DIC E:\
- COPY C:\CADET\CADUSER.DIC E:\
-
- Warning: If you add words to the Cadet user dictionary in a ram disk, you must
- copy the modified file, CADUSER.DIC, back to the hard disk before turning off
- or rebooting your machine.
-
- 3.6 INSTALLING CADET IN WINDOWS
- --------------------------------
- Cadet is "Windows aware" DOS application. Before beginning this procedure,
- install Cadet as usual by running Cadet's INSTALL program from the DOS prompt.
- At that point, Cadet is ready to use with AutoCAD for Windows. The instructions
- below give you the added ability to run Cadet as a stand-alone text editor from
- the Windows desktop.
-
- 1. From Window's Program Manager, open the group window you want Cadet to
- appear in (we suggest using the AutoCAD group).
- 2. Choose New from Program Manager's File menu to open the New Program
- Object dialog.
- 3. Choose Program Item, then choose OK to open the Program Item Properties
- dialog box.
- 4. Type C:\CADET\CADET.PIF in the Command Line field (use the appropriate
- Cadet path).
- 5. Choose Change Icon. When the "no icons available" alert box appears,
- choose OK to ignore it and open the Change Icon dialog.
- 6. Type C:\CADET\CADET.ICO in the File Name field (use the appropriate
- Cadet path)
- 7. Choose OK to return to the Program Item Properties dialog box, which
- will now display the Cadet icon.
- 8. Choose OK, and the Cadet icon appears among the other icons in the
- program group.
-
- Windows uses Program Information Files (PIF) to store settings which affect the
- way it executes individual DOS programs. The PIF file used for Cadet depends
- on the AutoCAD release it is run from. AutoCAD R11 for Windows uses the
- settings from CADET.PIF. AutoCAD R12 for Windows uses a simpler, if less
- flexible approach. It uses the settings from Window's general purpose
- _DEFAULT.PIF to run Cadet and other shell applications.
-
- Should you need or desire to modify these PIF files (see your Windows Users
- Guide), two settings are of particular importance. One, the PIF file must be
- set to close window on exit. Two, Cadet runs best when the display is set to
- full screen. Browse CADET.PIF for recommended advanced options.
-
- Here are some general tips for using Cadet with AutoCAD for Windows. Always
- exit Cadet by its own exit commands. When you are running Cadet from AutoCAD,
-
-
- do not try to minimize Cadet to complete some drawing task. Though visible,
- AutoCAD is in a suspended state. Should you make this mistake, regain control
- by pressing [Alt-Esc] to cycle back through the open tasks to Cadet. AutoCAD
- will be reactivated when you exit Cadet.
-
- 3.7 USING A CADET BATCH FILE
- -----------------------------
- In rare circumstances when Cadet is used from AutoCAD, you may need to run a
- program, such as a digitizer or video utility, before or after Cadet. Most
- utilities of this sort can and should be run prior to starting AutoCAD. If you
- find you cannot accomplish your goals in any other way, you can try having
- Cadet start from a batch file to which the commands are added. Use discretion
- though, some utilities could actually be harmful if run through AutoCAD's shell
- in this fashion. The general procedure follows.
-
- Use a text editor to create a file named CADETBAT.BAT in the Cadet directory.
- An example is shown below. The first line suppresses screen echo and is not
- absolutely necessary. The lines beginning with REM are remarks which DOS
- ignores, you should substitute the commands you find necessary at those points.
- Make sure you use the correct Cadet path if it differs from the example, but
- otherwise enter the third line exactly as it appears below.
-
- @ECHO OFF
- REM - Commands to process before Cadet go here.
- C:\CADET\CADET %1 %2
- REM - Commands to process after Cadet go here.
-
- Next, use a text editor to modify your ACAD.PGP file to change its Cadet
- command line to call the batch file instead of CADET.EXE. For example:
-
- CADET5,C:\CADET\CADETBAT,300000,*,4
- ~~~~~~~~
- As a precaution, make sure you save your drawing before using Cadet the first
- few times you run the batch file.
-
- 3.8 AUTOCAD'S SUPPORT PATH
- ---------------------------
- There is rarely a reason to add CADET's directory to the AutoCAD support path.
- When properly installed, Cadet does its own directory management.
-
- 3.9 FIRST TIME USERS
- ---------------------
- Although no trouble is anticipated, in keeping with the spirit of "better safe
- than sorry", we suggest you save your drawing prior to executing Cadet the
- first few times you try it. This is especially wise if you have a highly
- customized system.
-
- If other programs work for you through AutoCAD's SHELL function, you should
- have no trouble with Cadet, properly installed. Once it becomes apparent to you
- that no problems exist, the act of saving the drawing first is unnecessary.
-
- 4.0 USING CADET IN AUTOCAD
- ===========================
- 4.1 CADET FUNCTIONS IN BRIEF
- -----------------------------
- The following are brief descriptions of Cadet's AutoCAD functions. The methods
-
-
- used to access the functions and full details of what they do can be found in
- the following sections of the manual.
-
- Cadet-Create Table Create multiple column text tables.
- Cadet-Notes Create notes or single columns text.
- Cadet-MultiText Enter multiple lines of text, any spacing.
- Cadet-PlusText Add to existing text, same properties.
- Cadet-Import Import ASCII text files into any drawing.
- Cadet-AlignText Straighten crooked text columns.
- Cadet-JustifyText Change existing text justification.
- Cadet-SetText Set text defaults by picking a sample.
- Cadet-Edit Notes Edit drawing notes in the Cadet editor.
- Cadet-Edit Table Edit multi-column tables in the editor.
- Cadet-Edit Attributes Edit attributes in the Cadet editor.
- Cadet-Edit General-purpose text & attribute editing.
- Cadet-Edit Global Edit entire text of drawing at once.
- Cadet-External File Edit ASCII text files from within AutoCAD.
- Cadet-Options Temporarily modify Cadet configuration.
-
- 4.2 LOADING CADET
- ------------------
- If you have used INSTALL to install Cadet in your ACAD.LSP file, loading is
- totally automatic and the following command is not necessary. You must
- manually load CADET.LSP only if Cadet was not installed in ACAD.LSP. This is
- done with an AutoLISP LOAD command, as illustrated below. Note the use of
- forward slashes, double backslashes could be used as well.
-
- Command:(LOAD"C:/CADET/CADET")
-
- 4.3 THE CADET COMMAND LINE MENU
- --------------------------------
- Inside AutoCAD, all Cadet functions are accessible from a single command,
- "CADET". This is perhaps the easiest way for novices to access Cadet. Just
- enter "CADET" at the AutoCAD command prompt. The top level of the Cadet
- command line menu shows the following prompt:
-
- Add/Manipulate/Edit text or Options/Help/<eXit>?
-
- Entering "A" or "Add" from the top level produces a second level menu of text
- addition options:
-
- Create table/Notes/Multiline text/Add below/Import/Help/<eXit>?
-
- The ADD menu options are:
- "C" Create table Cadet-Create Table
- "N" Notes Cadet-Notes
- "M" Multiline text Cadet-MultiText
- "A" Add below Cadet-PlusText
- "I" Import Cadet-Import
- "H" Help Display Cadet help
- "X" eXit Return to top menu level
-
- Entering "M" or "Manipulate" from the top level produces a second level menu of
- text manipulation options:
-
- Align column/Justify text/Set defaults/Help/<eXit>?
-
-
- The MANIPULATE menu options are:
- "A" Align column Cadet-AlignText
- "J" Justify text Cadet-JustifyText
- "S" Set defaults Cadet-SetText
- "H" Help Display Cadet help
- "X" eXit Return to top menu level
-
- Entering "E" or "Edit" from the top level produces a second level menu of
- editing options:
-
- Notes/Table/Attributes/Mixed/Global/File/Help/<eXit>?
-
- The EDIT menu options are:
- "N" Notes Cadet-Edit Notes
- "T" Table Cadet-Edit Table
- "A" Attributes Cadet-Edit Attributes
- "M" Mixed Cadet-Edit
- "G" Global Cadet-Edit Global
- "F" File Cadet-External File
- "H" Help Display Cadet help
- "X" eXit Return to top menu level
-
- From the top level menu, entering "O" or "Options" executes Cadet-Options to
- make temporary modifications to Cadet's configuration variables. Entering "H"
- or "Help" displays a short description of the Cadet functions, and "X" or
- "Exit" exits the menu.
-
- 4.4 CADET KEYBOARD SHORTCUTS
- -----------------------------
- Each Cadet AutoCAD command can be accessed directly from the keyboard with what
- we call "Shortcut" commands. These are entered directly at the AutoCAD command
- prompt. The default names and their corresponding functions are shown below.
-
- CC Cadet-Create Table
- CN Cadet-Notes
- CM Cadet-MultiText
- CP Cadet-PlusText
- CI Cadet-Import
- CA Cadet-AlignText
- CJ Cadet-JustifyText
- CS Cadet-SetText
- CEN Cadet-Edit Notes
- CET Cadet-Edit Table
- CEA Cadet-Edit Attributes
- CE Cadet-Edit
- CEG Cadet-Edit Global
- CX Cadet-External File
- CO Cadet-Options
-
- If necessary, these shortcuts commands can be easily renamed by Cadet's INSTALL
- program. See CONFIGURATION, CADET COMMAND NAMES.
-
- 4.5 CADET-CREATE TABLE
- -----------------------
- Cadet-Create Table is a specialized Cadet editor interface for creating text
-
-
- tables such as schedules and bills of materials. Use any of the following
- methods to start Cadet-Create Table.
-
- CADET command line menu "A" Add, "C" Create table
- Keyboard shortcut command "CC" (or user defined alternate)
-
- The following is an example of Cadet-Create Table's prompts:
-
- Automatic column placement? <Y> N
- Draw table grid? <Y> Y
- Starting point or Justify/Style: S
- Style name <STANDARD>: ROMANS
- Starting point or Justify/Style:
- Text height <0.2500>:
- Rotation angle <0>:
- Number of text columns (|||) <1>: 10
- Number of text rows (---) per column <max>: 24
- Text pitch <0.4048> or Auto: A
- Starting point of column B or Justify:
- Starting point of column C or Justify/Equal:
-
- AUTOMATIC COLUMN PLACEMENT This option allows Cadet to automatically place
- the columns of your newly created text table. Each column will be positioned
- at a distance just far enough to avoid overlapping any text. Automatic column
- placement forces all columns to be Left justified.
-
- DRAW GRID With this selection, Cadet draws a line grid embodying your newly
- created text table. Grids can be created for tables of any combination of
- baseline compatible justifications, at any specified text pitch.
-
- TEXT STYLE Defaults to current style. Any currently defined text style can
- be selected, but must be made before selecting a start point or justification.
-
- JUSTIFY Defaults to Left. Any justification except Align can be selected -
- including Cadet's special justification, Bound. Bound uses two endpoints to
- establish the word wrap position. It is a conditional Fit justification -
- fitting oversized lines of text and left justifying others. The only
- justification which can be used with automatic column placement is Left.
-
- TEXT HEIGHT Defaults to current height. Any desired text height can be
- entered. The selected height sets the default text pitch, at a height to pitch
- ratio set according to Cadet's user definable text pitch factor. Not available
- if selected text style is set to a fixed height.
-
- ROTATION ANGLE Defaults to zero. Enter the desired text rotation angle, in
- degrees. Angles are measured relative to the current UCS.
-
- COLUMNS Enter the number of text columns your table will contain. Cadet
- makes each table item (or cell) in each column a separate text entity. Text
- tables can contain from 1 to 702 columns. The number of columns used will
- limit the maximum number of rows available.
-
- ROWS Enter the number of text rows your table will contain. The maximum
- number of rows which can be entered is that which results in a total matrix
- (rows x columns) of 6000 cells. The table size may further be limited by
- available memory.
-
-
- TEXT PITCH and AUTO Text pitch can be either user defined or automatically
- determined by Cadet. Auto uses Cadet's text pitch factor to maintain a
- standard, uniform pitch based on text height.
-
- Cadet-Create Table requires a starting point for the table's first text entity.
- Use your pointing device to pick the point or enter point coordinates. This
- first point also defines the vertical origin of subsequent columns relative to
- the text angle and current UCS, thus simplifying multiple column definition.
-
- Unless automatic column placement has been chosen, you will continue to receive
- prompts for each additional column. Cadet identifies these columns in turn as
- A, B, C and so forth. You can choose a different justification for each
- column, or allow Cadet to default to the last justification used. After the
- second column has been defined, you may also choose to make all remaining
- columns equal in width and justification to the previous column.
-
- Starting point of column C or Justification/Equal:
-
- Once the final column is defined, the Cadet text editor appears, configured for
- the specified table. You can toggle Cadet's sort order to enter text by either
- rows or columns. Full details of the text editor are covered in following
- sections of the manual. When you exit the editor, the AutoCAD graphic screen
- returns and the table is drawn.
-
- 4.6 CADET-NOTES
- ----------------
- Cadet-Notes is the Cadet editor interface of choice for creating drawing notes.
- This function accesses the text editor in a free-form style in which advanced
- features such as word wrap and paragraph reformat are available. Use any of
- the following methods to start Cadet-Notes.
-
- CADET command line menu "A" Add, "N" Notes
- Keyboard shortcut command "CN" (or user defined alternate)
-
- The following is an example of Cadet-Notes' prompts:
-
- Starting point or Justify/Style: S
- Style name <STANDARD>: ROMANS
- Starting point or Justify/Style: J
- Left/Center/Right/Middle/Fit/Bound/Wrap/BL/BC/BR/ML/MC/MR/TL/TC/TR? BL
- Starting point:
- Text height <0.2000>:
- Rotation angle <0>:
- Text pitch <0.3238> or Auto: A
-
- TEXT STYLE Defaults to current style. Any currently defined text style can
- be selected, but must be made before selecting a start point or justification.
-
- JUSTIFY Defaults to Left. Any justification except Align can be selected -
- including two special Cadet justifications, Bound and Wrap. Both require two
- endpoints to establish the word wrap position. The Bound option is a
- conditional Fit justification - fitting oversized lines of text and left
- justifying others. The Wrap option is simple Left justification.
-
- TEXT HEIGHT Defaults to current height. Any desired text height can be
-
-
- entered. The selected text height sets the default text pitch, at a height to
- pitch ratio set according to Cadet's user definable text pitch factor. Not
- available if selected text style is set to a fixed height.
-
- ROTATION ANGLE Defaults to zero. Enter the desired text rotation angle, in
- degrees. Angles are measured relative to the current UCS.
-
- TEXT PITCH and AUTO Text pitch can be either user defined or automatically
- determined by Cadet. Auto uses Cadet's text pitch factor to maintain a
- standard, uniform pitch based on text height.
-
- Cadet-Notes only requires an insertion point for the note's first text entity.
- Use your pointing device to pick the point or enter point coordinates.
-
- Once the insertion point and other specifics are entered, the Cadet editor
- appears. The details of the Cadet text editor are covered in following
- sections of the manual. When you exit the editor, the AutoCAD graphics screen
- returns, and the newly composed notes are drawn.
-
- 4.7 CADET-MULTITEXT
- --------------------
- Cadet-MultiText is a Cadet utility which allows you to create multiple lines of
- text without leaving AutoCAD. Unlike AutoCAD's DTEXT command, MultiText allows
- you to set the line spacing to any desired value.
- Use any of the following methods to start Cadet-MultiText.
-
- CADET command line menu "A" Add, "M" Multiline text
- Keyboard shortcut command "CM" (or user defined alternate)
-
- The following is an example of Cadet-MultiText's prompts:
-
- Starting point or Justify/Style: S
- Style name <STANDARD>: ROMANS
- Starting point or Justify/Style: J
- Left/Center/Right/Middle/Fit/Align/BL/BC/BR/ML/MC/MR/TL/TC/TR? BC
- Starting point:
- Text height <0.2500>: .125
- Rotation angle <0>: 90
- Text pitch <0.2024> or Auto: .25
-
- TEXT STYLE Defaults to current style. Any currently defined text style can
- be selected, but must be made before selecting a start point or justification.
-
- JUSTIFY Defaults to Left. Any standard justification can be selected.
-
- TEXT HEIGHT Defaults to current height. Any desired text height can be
- entered. The selected text height sets the default text pitch, at a height to
- pitch ratio set according to Cadet's user definable text pitch factor. Not
- available if selected text style is set to a fixed height.
-
- ROTATION ANGLE Defaults to zero. Enter the desired text rotation angle, in
- degrees. Angles are measured relative to the current UCS.
-
- TEXT PITCH and AUTO Text pitch can be either user defined or automatically
- determined by Cadet. Auto uses Cadet's text pitch factor to maintain a
- standard, uniform pitch based on text height.
-
-
- Once these specifics and a text insertion point is entered, you are prompted to
- enter the text. All text is entered at the command line. Type in as many
- lines as necessary. Like AutoCAD's DTEXT command, Cadet-MultiText keeps
- prompting for text until it gets a null response.
-
- 4.8 CADET-PLUSTEXT
- -------------------
- Cadet-PlusText is a Cadet utility which allows you to continue to add text
- below any existing text without leaving AutoCAD. The new text's properties -
- size, style, layer, angle, etc. - are automatically set to match the existing
- text. Use any of the following methods to start Cadet-PlusText.
-
- CADET command line menu "A" Add, "A" Add below
- Keyboard shortcut command "CP" (or user defined alternate)
-
- When executed, Cadet-PlusText's first prompt is to pick the existing text. New
- text will be added below the existing text. If you are adding to a multiple
- line note, pick the bottom line. Next, you are prompted for the pitch.
-
- Text pitch <0.2024> or Auto:
-
- The text pitch can be keyed in or two points picked. If you are adding to a
- multiple line note, you can match its spacing precisely by using AutoCAD's
- INSert object snap and picking two adjacent lines of existing text. Auto uses
- Cadet's text pitch factor to determine the pitch based on text height.
-
- Once the pitch is entered, you are prompted to enter the text. All text is
- entered at the command line. Type in as many lines as necessary. Like
- AutoCAD's DTEXT command, Cadet-PlusText keeps prompting for text until it gets
- a null response.
-
- 4.9 CADET-IMPORT
- -----------------
- Cadet-Import is a utility used to import text from ASCII text or
- comma-delimited data files into AutoCAD drawings. Use any of the following
- methods to start Cadet-Import.
-
- CADET command line menu "A" Add, "I" Import
- Keyboard shortcut command "CI" (or user defined alternate)
-
- An ASCII text file is one of plain, human readable text, without the special
- formatting characters of a word processor. Also referred to as a DOS text
- file, these are the type file Cadet, MS-DOS's Edit, Edlin, and other text
- editors create. Although not their native format, most word processors are
- capable of making ASCII files with a special save, export, or print-to-disk
- command. A simple way to check a suspect file is to list it to the screen with
- the DOS TYPE command. If the text is legible on the screen, it is ASCII.
-
- Comma delimited data files are a special form of ASCII files, commonly created
- by data base or spreadsheet programs, used to hold tabular data. In these
- files, the fields of data are separated by commas. Generally, text fields
- (which may themselves contain commas) are quoted, number fields are not.
-
- The following is a sample series of prompt for importing a Text file.
-
-
- Comma delimited Data file or Text file? Data/<Text>
- Name of text file to import: D:\NOTES\NOTICE
- Starting point or Justify/Style: S
- Style name <ROMANS>: CITYBLUEPRINT
- Starting point or Justify/Style:
- Text height <0.2500>: .125
- Rotation angle <0>:
- Number of text columns (|||) <1>:
- Text pitch <0.2024> or Auto: A
-
- Below is a sample series of prompts for importing a data file:
-
- Comma delimited Data file or Text file? Data/<Text> D
- Name of data file to import: \FILES\DB3
- Automatic column placement? <Y>
- Draw table grid? <Y>
- Starting point or Style:
- Text height <0.2500>: .125
- Rotation angle <0>:
- Text pitch <0.2024> or Auto: .25
-
- TEXT or DATA Defaults to Text. Select Text to import ordinary ASCII text
- files. Select Data to import a comma-delimited ASCII data file.
-
- FILE NAME Enter the name of the file to import, a full path name is required.
-
- AUTOMATIC COLUMN PLACEMENT Data files only. This option allows Cadet to
- automatically place the columns of your imported text table. Each column will
- be positioned at a distance just far enough to avoid overlapping text.
- Automatic column placement forces all columns to be Left justified.
-
- DRAW GRID Data files only. With this selection, Cadet draws a line grid
- embodying your imported text table. Grids can be created for tables of any
- combination of baseline compatible justifications, at any specified text pitch.
-
- TEXT STYLE Defaults to current style. Any currently defined text style can
- be selected, but must be made before selecting a start point or justification.
-
- JUSTIFY Defaults to Left. Any justification except Align can be selected -
- including Cadet's special justification, Bound. Bound uses two endpoints to
- establish the word wrap position. It is a conditional Fit justification -
- fitting oversized lines of text and left justifying others. The only
- justification which can be used with automatic column placement is Left.
-
- TEXT HEIGHT Defaults to current height. Any desired text height can be
- entered. A change in text height will update the default text pitch, at a
- height to pitch ratio set according to Cadet's user definable text pitch
- factor. Not available if selected text style is set to a fixed height.
-
- ROTATION ANGLE Defaults to zero. Enter the desired text rotation angle, in
- degrees. Angles are measured relative to the current UCS.
- COLUMNS Used for Text files only, the number of columns for Data files is
- determined by its file structure. Used to import text files into newspaper
- style text columns. Defaults to one. Enter any number between 1 and 702.
-
- ROWS Used for multiple column Text files only, not required for Data files
-
-
- or single column Text files. The number of rows will determine the point at
- which the newspaper style columns break, and new column begins.
-
- TEXT PITCH and AUTO Text pitch can be either user defined or automatically
- determined by Cadet. Auto uses Cadet's text pitch factor to maintain a
- standard, uniform pitch based on text height.
-
- Cadet-Import requires an insertion point for the first text entity. Use your
- pointing device to pick the point or enter point coordinates. This first point
- also defines the vertical origin of subsequent columns relative to the text
- angle and current UCS.
-
- When importing Text files into newspaper style columns, or Data files without
- automatic column placement, you will continue to receive prompts for each
- remaining column you have defined.
-
- Cadet identifies these columns in turn as A, B, C and so forth. You can choose
- a different justification for each column, or allow Cadet to default to the
- last justification used.
-
- After the second column has been defined, you may also choose to make all
- remaining columns equal in width and justification to the previous column.
-
- Starting point of column C or Justification/Equal:
-
- Once all insertion points are defined, the selected file is imported into the
- AutoCAD drawing. Note, Cadet also has another method of importing text files;
- use Cadet-Notes and import the file into the empty Cadet editor.
-
- 4.10 CADET-ALIGNTEXT
- ---------------------
- Cadet-AlignText is an AutoCAD utility to correct misaligned text columns,
- moving selected text entities horizontal to the UCS so that their insert points
- are vertically aligned to any point you choose.
-
- AlignText is useful as a preprocessor for Cadet-Edit Table, to straighten
- crooked columns, and as a postprocessor for Cadet-JustifyText, to move text
- insert points to an new position. Use any of the following methods to start
- Cadet-AlignText.
-
- CADET command line menu "M" Manipulate, "A" Align column
- Keyboard shortcut command "CA" (or user defined alternate)
-
- When executed, the first prompt is for the new alignment point.
-
- Enter point to align text to:
-
- Generally, you would use AutoCAD's INSert object snap and pick the column's top
- line of text. You can, however, enter any point - with either your pointing
- device or coordinates from the keyboard. The next prompt given is to select
- the text you wish to align.
-
- Select objects:
-
- This is the familiar AutoCAD interactive selection mechanism. You can use
- object snaps, Window, Crossing, Last, Previous, Remove and Add, etc. to select
-
-
- the text. Non-text entities will be ignored. Once you have finished the
- selection set, Cadet-AlignText moves the group of text entities into alignment.
-
- 4.11 CADET-JUSTIFYTEXT
- -----------------------
- Cadet-JustifyText is an AutoCAD utility used to change the justification of
- existing AutoCAD text. It can be used on single entities or sets. Use any of
- the following methods to start Cadet-JustifyText.
-
- CADET command line menu "M" Manipulate, "J" Justify text
- Keyboard shortcut command "CJ" (or user defined alternate)
-
- When executed, Cadet-JustifyText's first prompt is to select the text.
-
- Select objects:
-
- This is the familiar AutoCAD interactive selection mechanism. You can use
- familiar object snaps; Window, Crossing, Last, Previous, Remove and Add, etc.
- Non-text entities will be ignored. Once you have finished selecting the text
- to change, Cadet-Justify prompts for a new text justification.
-
- Left/Center/Right/Middle/Fit/Align/BL/BC/BR/ML/MC/MR/TL/TC/TR?
-
- After selecting the new justification, each text entity in the set is changed.
- If Fit or Align justification is chosen, you are individually prompted for a
- new text endpoint for each entity in the set.
-
- 4.12 CADET-SETTEXT
- -------------------
- Cadet-SetText is a utility which allows you to set new AutoCAD text defaults by
- picking a sample on the screen. The new text defaults - size, style, layer,
- angle, etc. - are automatically set to match the chosen sample. Use any of the
- following methods to start Cadet-SetText.
-
- CADET command line menu "M" Manipulate, "S" Set defaults
- Keyboard shortcut command "CS" (or user defined alternate)
-
- When executed, Cadet-SetText's only prompt is to pick the sample text.
-
- Pick sample text:
-
- When you next create a text entity, the default properties will match those of
- the sample you have chosen.
-
- 4.13 CADET-EDIT NOTES
- ----------------------
- Cadet-Edit Notes is a specialized Cadet editor interface used for editing notes
- and other single columns of text. Attributes cannot be edited, but Edit Notes
- has important advantages over the general-purpose Cadet-Edit interface, namely,
- the ability to insert new lines anywhere in the notes and to use Cadet's word
- wrap and reformat functions. To do this however, Cadet-Edit Notes expects the
- text to be columnar, fairly well aligned and equally spaced. Use any of the
- methods below to start Cadet-Edit Notes.
-
- CADET command line menu "E" Edit, "N" Notes
- Keyboard shortcut command "CEN" (or user defined alternate)
-
-
- When executed, Cadet-Edit Notes prompts you to select the text.
-
- Select objects:
-
- This is the familiar AutoCAD interactive selection mechanism. You can use
- object snaps, Window, Crossing, Last, Previous, Remove and Add, etc. to select
- text. Non-text entities are automatically filtered out. When you are
- finished, press [Enter] and the text is transferred to the editor.
-
- Cadet orders text entities into a list based on its vertical position relative
- to the UCS plane. Use the editor to edit and add to the notes as necessary.
- After exiting Cadet, you are returned to the AutoCAD graphics screen. The
- notes are updated to reflect any changes, new additions are created, and each
- text insert point is precisely pitched and aligned.
-
- There are two problems you may experience when using Cadet-Edit Notes on poorly
- organized notes. First, Cadet-Edit Notes expects the text insert points to be
- in columnar alignment. Second, uneven text pitch is not tolerated. Cadet uses
- a tolerance factor to account for minor pitch deviations, but with extreme
- cases the tolerance is not enough. Problems also occur if more than one text
- entity occupies a line, or if incompatible justifications are used.
-
- Inside the editor, notes appearing with odd line spacing, extra blanks or out
- of place lines are generally attributable to the problems discussed. With
- severely disorganized notes, you may have to do some preliminary clean up.
- Cadet-AlignText and Cadet-JustifyText are helpful for reorganizing notes.
-
- 4.14 CADET-EDIT TABLE
- ----------------------
- Cadet-Edit Table is a specialized Cadet editor interface for editing organized
- multiple column text such as tables and schedules. Cadet orders the selected
- table into an array corresponding to its placement in the drawing,
- automatically providing spaces for empty table cells. In addition to being
- able to fill empty spaces, you can also insert new table rows at any point. In
- order to perform these feats, however, the original text must be well aligned
- and equally spaced. Any of the following methods start Cadet-Edit Table.
-
- CADET command line menu "E" Edit, "T" Table
- Keyboard shortcut command "CET" (or user defined alternate)
-
- When executed, Cadet-Edit Table prompts you to select the text.
-
- Select objects:
-
- This is the familiar AutoCAD interactive selection mechanism. You can use
- object snaps, Window, Crossing, Last, Previous, Remove and Add, etc. to make
- your text selection. Non-text entities are automatically filtered out. When
- you are done, press [Enter] and the text table is transferred to the editor.
-
- Cadet begins by ordering the selected text into rows and columns, building a
- full tabular array. The text table appears in the Cadet editor as a linear
- list, sorted by columns or rows. The sort order can be toggled back and forth.
- Use the Cadet editor to edit and add to the table as necessary. After exiting
- Cadet, you are returned to the AutoCAD graphics screen. The text table is
- updated to reflect any changes, new text entities (if any) are created, and any
-
-
- misfit rows and columns are precisely realigned.
-
- Some problems can occur if the original tables are poorly organized. Arrays
- which appear in the editor with extra or broken rows or columns are due to the
- original text table being too misaligned or unevenly spaced in the drawing.
- Cadet uses a tolerance factor to account for a certain amount of misalignment,
- but for extremely disordered tables, the tolerance may not be enough.
-
- An organization problem also occurs when incompatible text justifications are
- mixed within a table - the drawing's table may look neat to the eye, but the
- text insert points are not in an orderly array. Cadet-Edit Table organizes the
- table array on the basis of text insert points. This requires that the text
- justifications be consistent up and down columns. This precludes selecting
- table headings with the body of the table if their justifications differ.
-
- Baseline compatible text justifications must be used throughout the table. For
- example, Left, Fit, Center and Right justifications are baseline compatible
- with each other, but not with Middle justifications. Release 11 and later
- versions of AutoCAD have additional families of compatible justifications for
- Top, Middle and Bottom baselines.
-
- See the section CADET-EDIT NOTES for illustrations of misaligned text which
- will exhibit some of the problems we discussed. In the cases you need to
- straighten up a table before using Cadet-Edit Table, you may find
- Cadet-AlignText and Cadet-JustifyText helpful.
-
- 4.15 CADET-EDIT ATTRIBUTES
- ---------------------------
- Cadet-Edit Attributes is a specialized front-end to the Cadet-Edit interface.
- What is unique about Cadet-Edit Attributes is that it filters ordinary text
- from the selection set, leaving only block attributes. Use any of the
- following methods to start Cadet-Edit Attributes.
-
- CADET command line menu "E" Edit, "A" Attributes
- Keyboard shortcut command "CEA" (or user defined alternate)
-
- Other than limiting the selection to attributes, Cadet-Edit Attributes
- functions the same as the general purpose Cadet-Edit, which is discussed next.
-
- 4.16 CADET-EDIT
- ----------------
- Cadet-Edit is Cadet's general-purpose editor interface. It is used to edit
- both attributes and text. Cadet-Edit is well suited for editing mixed
- selection sets of varying text positions and properties. Use any of the
- following methods to start Cadet-Edit.
-
- CADET command line menu "E" Edit, "M" Mixed
- Keyboard shortcut command "CE" (or user defined alternate)
-
- When executed, Cadet-Edit's first prompt is to pick the text and/or attributes.
-
- Select objects:
-
- This is the familiar AutoCAD interactive selection mechanism. You can use
- object snaps, Window, Crossing, Last, Previous, Remove and Add, etc. to select
- the text. Don't worry if non-text entities are accidentally picked into the
-
-
- selection set. Cadet safely filters them out. When you have finished
- selecting the text, press [Enter] and Cadet writes the text to the editor.
-
- The text then appears in the Cadet editor, sorted by drawing position. Use the
- editor to make changes to the text as necessary. After exiting the editor, you
- are returned to AutoCAD, where Cadet automatically updates any modified text.
-
- 4.17 CADET-EDIT GLOBAL
- -----------------------
- Cadet-Edit Global is another specialized front-end to the Cadet-Edit interface.
- With Cadet-Edit Global, all drawing text and attributes are automatically
- selected and brought into the editor. This make it particularly ideal for
- global spelling checks. Any of the methods below start Cadet-Edit Global.
-
- CADET command line menu "E" Edit, "G" Global
- Keyboard shortcut command "CEG" (or user defined alternate)
-
- When executed, Cadet-Edit Global automatically filters all text and attributes
- and transfers the information to the Cadet editor. Use the editor for spell
- checks or changes as required. After exiting the editor, AutoCAD returns and
- Cadet updates the modified text.
-
- 4.18 CADET-EXTERNAL FILE
- -------------------------
- Not only is Cadet an AutoCAD editor, it can edit ASCII text files from DOS or
- AutoCAD. To edit text files from within AutoCAD, use any of the following
- methods.
-
- CADET command line menu "E" Edit, "F" File
- Keyboard shortcut command "CX" (or user defined alternate)
-
- You will then be prompted for a file name. Type in a file name or use Cadet's
- own file selection pick list. The workings of the Cadet editor are detailed in
- the following sections of the manual.
-
- 4.19 CADET-OPTIONS
- -------------------
- Cadet-Options is used to make temporary modifications to certain Cadet
- configuration variables which effect its behavior in AutoCAD. Use any of the
- following methods to start Cadet-Options.
-
- CADET command line menu "O" Options
- Keyboard shortcut command "CO" (or user defined alternate)
-
- The following is a sample series of command line prompts for Cadet-Options.
-
- 1. Text pitch factor <1.6190>:
- 2. Table tolerance factor <1.0000>:
- 3. Sort by LLH coordinates? Yes/No <No>
- 4. Edit nested blocks and blocked text? Yes/No <Yes>
-
- The following are brief descriptions. See CONFIGURATION for more details.
-
- TEXT PITCH FACTOR When creating new text with Cadet, the default vertical
- spacing between lines is Cadet's text pitch factor times the text height.
-
-
- TABLE TOLERANCE FACTOR Cadet's table tolerance factor is used to allow a
- certain amount of misalignment in row and column positions for Cadet-Edit Notes
- and Cadet-Edit Table.
-
- SORTING COORDINATES This configuration variable controls which text
- coordinates are used for row and column sorting in MIXED editing modes.
-
- EDIT NESTED BLOCKS For R11 and higher. Controls whether Cadet's MIXED
- editing modes allow constant attributes, nested attributes, and ordinary text
- found within blocks and bound X-Ref drawings.
-
- 5.0 RUNNING CADET FROM DOS
- ===========================
- To edit files from DOS, just enter "CADET" followed by the name of the file.
-
- C:/> CADET [FileName] [/Line number]
-
- The file name on the command line is optional - if it is not given, Cadet will
- prompt for one. If the name of an existing file is given, it is loaded into
- Cadet for editing, otherwise a new file is created. Files can also be selected
- from a pick list by pressing [Enter] without a file name, or by entering a
- directory and/or wildcards in lieu of a file name. The Line number parameter
- is also optional. When used with a filename parameter, the file will be
- loaded into the Cadet editor with the cursor placed at the requested line. The
- details of the Cadet editor are detailed in the next section of the manual.
-
- 6.0 USING THE CADET EDITOR
- ===========================
- The Cadet text editor is the heart of the Cadet system. Cadet is a full-screen
- text editor with mouse support. Cadet supports a dual level command interface.
- At the expert level, direct shortcut keys are available. For novice and mouse
- users, there is an easy to use pull-down menu system.
-
- Cadet's shortcut keys are control (Ctrl) key combinations, entered by holding
- down the control key while pressing the command letter. Cadet also uses a few
- alternate (Alt) key combinations, entered in a similar fashion. This manual
- represents these keys in the format; [Ctrl-A] and [Alt-A].
-
- Cadet commands can also be entered from the pull-down menu system. In this
- manual, we show each command's menu equivalent as the list of the menu choices
- required to reach it, enclosed in curly braces, in the format; {Editing|Erase
- All} and {Display|About Cadet}. When editing, you can press [F1]
- {Display|Help} for a summary of Cadet's shortcut keys.
-
- Separate text entities are referred to as text lines, and the body of text in
- the editor as the document. Several commands are designed to work on either
- the current line (locally) or the document (globally) at the user's option.
-
- The behavior of the Cadet editor differs somewhat depending on which Cadet DOS
- or AutoCAD interface accesses it. In effect, Cadet is four editors in one.
- The editing modes and corresponding interfaces are listed below.
-
- MIXED Cadet-Edit, Cadet-Edit Attributes, & Cadet-Edit Global
- TABLE Cadet-Create Table, Cadet-Edit Table
- NOTES Cadet-Notes, Cadet-Edit Notes
- FILE Cadet-External File, Cadet from DOS
-
-
- The differences in Cadet's four editing modes are slight, effecting only a few
- commands, but they are important. Some Cadet commands are only available in
- certain editing modes, in others the command's behavior may be somewhat
- different. These exceptions and differences are noted in the descriptions of
- the Cadet commands and features which follow.
-
- 6.1 CURSOR MOVEMENT
- --------------------
- Mouse movements and cursor keys are the basic method of moving the cursor
- around the screen. Mouse support is discussed in a following section of the
- manual. Cadet also has special keys to move through text even more quickly.
-
- The following is a listing of Cadet commands which reposition the cursor.
-
- Ctrl-Right Cursor right one word
- Ctrl-Left Cursor left one word
- Tab Tab right, according to the tab configuration
- Shift-Tab Tab left, according to the tab configuration
- Home Go to beginning of line
- End Go to end of line
- PgUp Move up one screen
- PgDn Move down one screen
- Ctrl-PgUp Go to top of document
- Ctrl-PgDn Go to bottom of document
- Alt-T Go to top of column or row
- Alt-B Go to bottom of column or row
- Alt-G Go to specified line number
- Ctrl-[ Match ([{< brace forwards
- Ctrl-] Match )]}> brace backwards
-
- 6.2 MOUSE SUPPORT
- ------------------
- The following is a brief listing of areas in which Cadet supports mouse input.
- More details on mouse use are available in the documentation of the influenced
- commands.
-
- o BUTTON ASSIGNMENTS. Left mouse button = Pick, anytime.
- Right mouse button = [Enter] for menus, pick lists, prompts.
- Right+Left mouse buttons = [Esc], anytime.
- o CURSOR POSITION. Pick any point on the screen to reposition the cursor.
- o MARKING TEXT. Text blocks can be marked by holding down the mouse cursor
- at one end and dragging it to the opposite end.
- o PROMPTS AND COMMANDS. Reply to and execute commands by picking the
- highlighted answer or command from the bottom of the screen.
- o PULL-DOWN MENUS. Move mouse cursor into the top status line to activate
- pull-downs. Pick menu heading to drop it down.
- o PICK LISTS AND MENUS. Make selections from pick list and menu displays
- with a single pick.
- o SCROLL BAR SLIDER. Pick any spot on scroll bar to reposition the slider.
- Hold button down to drag the slider to desired scroll bar position.
- o SCROLL BAR ARROWS. Pick up or down arrows to scroll one item at a time,
- hold button down to scroll continuously.
- o WINDOWS BUTTONS. Pick the exit button in the top left corner of pick
- lists and windows to exit.
-
-
- 6.3 INSERT/OVERWRITE MODE
- --------------------------
- In overwrite (typeover) mode, characters overwrite existing text. In insert
- mode, characters insert and displace existing text. Pressing the [Ins] key
- toggles the insert mode. A default mode can be set with the INSTALL
- configuration program.
- In most editing modes, pressing [Enter] with insert mode on will add a hard
- carriage return and create a new line. This behavior can be changed if
- desired, see EDITOR SETTINGS, below. Pressing [Tab] with insert mode on will
- shift the text at the right of the cursor to the next tab stop.
-
- 6.4 EDITOR SETTINGS
- --------------------
- Cadet allows eight of its default settings to be temporarily modified via the
- [Ctrl-T] {Options} command. Defaults can be set with Cadet's INSTALL
- configuration program.
-
- AUTOINDENT [Ctrl-TA] When Autoindent is active, text which is word wrapped
- from an indented line is placed at the same level of indentation as the
- preceding line. Likewise, when [Enter] is pressed, the cursor is placed
- directly below the first character of the line above. When Autoindent is off,
- carriage returns and wrapped lines go to the home position, regardless of
- previous indentations.
-
- TYPE SPEED [Ctrl-TT] Cadet's typematic rate accelerator can move the cursor
- up to three times faster than normal. You can choose Slow, Medium or Fast
- speed. Slow speed is the same as no acceleration.
-
- TAB MODE [Ctrl-TM] Cadet has two tab modes, Smart Tabs and Fixed Tabs. In
- either mode, pressing [Tab] when insert mode is active will push all text to
- the right of the cursor to the tab stop. This, alone or in combination with
- word wrap, is useful for formatting indentations in existing text. When
- overwrite mode is active, only the cursor is moved.
-
- The tab mode generally preferred is Smart Tabs. When [Tab] is pressed, the
- cursor is positioned underneath the first character of the next word in the
- line above. The [Shift-Tab] key has no function in Smart Tab mode. The
- alternative to Smart Tabs is Fixed Tabs. In Fixed Tab mode, tab stops are set
- to fixed intervals, spaced according to the Tab Size value. Pressing [Tab]
- moves the cursor forward to the next tab stop, and [Shift-Tab] moves the cursor
- back to the previous tab stop. See notes below for formatting limitations.
-
- TAB SIZE [Ctrl-TS] Cadet's Tab Size can be configured to any value between
- one and twenty. When reading files, Cadet automatically translates incoming
- tabs (ASCII 9) to the specified number of spaces. Cadet saves files in
- translated form, without hard tabs. Setting the default tab size to one
- prevents tab translation. The tab size also determines the tab stop spacing in
- Fixed Tab mode.
-
- ENTER (CR) INSERTS [Ctrl-TI] When on, pressing the [Enter] key with insert
- mode on will result in line break, identical the [Ctrl-I] insert command. When
- off, pressing [Enter] simply moves the cursor down one line and to the home
- position. Defaults off in TABLE editing mode regardless of configured default.
-
- CONFIRM INSERT/DELETE [Ctrl-TC] Designed as a protective device, this setting
- effects MIXED editing mode only, where the position of text entities should
-
-
- normally remain static. When on, Cadet prompts for confirmation whenever a
- line or marked block is inserted or deleted. When off, the various insert and
- delete commands proceed as usual.
-
- SQUEEZE [Ctrl-TQ] The Squeeze mode works with Cadet's word wrap and the
- reformat command. When active, Cadet removes all excess spaces from the lines
- of text before word wrapping. Indented left margins are unaffected. Cadet's
- special protected space characters can be useful to further control the format.
- See notes below for formatting limitations.
-
- JUSTIFY [Ctrl-TJ] The Justify mode works with Cadet's word wrap and the
- reformat command, to provide full (left and right) justification. This form
- of justification should be used with mono-spaced text fonts only. Lines are
- interspersed with additional spaces as necessary to align the right margin.
- Cadet's special protected space characters can be useful to control the format.
- Established left margins are unaffected. See notes below for formatting
- limitations.
-
- Formatting Notes:
-
- 1. Indented margins, tabbed spacings and fully justified text created in
- Cadet will retain its appearance in AutoCAD only if Left justification
- and a monospaced (non-proportional) font is used, such as AutoCAD's
- MONOTXT font. When used with proportional fonts, the results may not be
- acceptable in appearance.
- 2. For tabular data, you can avoid the necessity of monospaced fonts and
- tabs by using Cadet-Create Table.
-
- 6.5 STATUS LINES
- -----------------
- Cadet has two status lines. The upper status line shows the editor status.
-
- o Cadet editing mode; Notes, Table, Mixed or File.
- o Current editor sort order; Row, Col or Pick.
- o Word wrap position and Squeeze or Justify mode.
- o Tab size and Tab mode.
- o Autoindent mode.
- o Typematic rate speed; Slow, Med or Fast.
- o Line position of cursor.
- o Column position of cursor.
- o Editing insert mode; Ins or Ovr
-
- In FILE editing mode, the lower status line only displays the name of the file
- being edited. In other modes, the lower status line is the drawing status.
-
- o Drawing name or file name.
- o Text height of text at cursor line.
- o Text font style of text at cursor line.
- o Line spacing, or in MIXED editing mode;
- o Block name and attribute prompt.
-
- 6.6 SPECIAL CHARACTERS
- -----------------------
- You may enter AutoCAD's special symbols directly into text without "%%" codes.
- Just press the appropriate Alt key combination.
-
-
- [Alt-O] Overscore toggle %%o (bold upward arrowhead)
- [Alt-U] Underscore toggle %%u (bold downward arrowhead)
- [Alt-D] Degrees symbol %%d
- [Alt-P] Plus/minus symbol %%p
- [Alt-C] Circle diameter symbol %%c
-
- Cadet performs character code to symbol translation, to and from AutoCAD. Some
- translation can be disabled, see the CONFIGURATION chapter for details.
-
- Cadet also uses two special symbols of its own, the protected space character
- and the hard return indicator. Both are used to control Cadet's word wrap.
-
- [Alt-S] Protected space indicator (small dot)
- [Ctrl-Enter] Hard return indicator (solid rectangle)
-
- 6.7 PULL-DOWN MENUS
- --------------------
- Activate the menu by moving the mouse cursor into the top status line or
- pressing [F10]. The main menu bar is displayed at the top of the screen, and
- consists of eight sub-menu headings. The current choice is marked with a
- highlight bar. The highlighted letter in each choice is its hot-key.
-
- Select a sub-menu with a mouse pick, pressing its hot-key, or highlighting it
- with the cursor and pressing [Enter]. The bottom of the screen shows
- information on each sub-menu as you cursor through the headings. Once
- selected, sub-menus drop and display available commands.
-
- Choose a menu command with a mouse pick, pressing its hot-key, or highlighting
- it with the cursor and pressing [Enter]. As the cursor moves through the
- selections, the bottom of the screen displays help information.
-
- Menu choices which are inactive in the current editing mode are "grayed out" in
- a dim color. Several menu choices bring up a third level menu of options. To
- escape from a third level menu back to the second level menu, press [Esc] or
- pick the second level menu with a mouse.
-
- To move to an adjacent second level sub-menu, cursor [Right] or [Left] or pick
- its main menu heading with the mouse cursor. To escape back through the menu
- levels, press [Esc]. To escape without executing a command, press [Esc] from
- the top menu or pick any point outside the menus with a mouse.
-
- 6.8 PICK LISTS
- ---------------
- Cadet's pick lists are used to select files, text styles, and spell checker
- suggestions. A pick list is a list of selections in a bordered window. A
- highlight bar indicates the current selection. The [Up] and [Down] cursor keys
- and their corresponding mouse hot spots traverse the list an item at a time.
- Longer lists will scroll as you traverse them. [PgUp] and [PgDn] move up and
- down the list the length of the window, and [Home] and [End] move to the
- respective ends of the list.
-
- Except for spell checker lists, typing the first few characters of a word moves
- the highlight bar to the first matching selection. Cadet will track and match
- the selections so long as you type characters within two second intervals.
- After a two second interval, or if the spacebar is pressed, the string clears.
-
-
- The slider box on the mouse sensitive scroll bar shows the position of the
- current selection relative to the length of the list. Picking the scroll bar
- arrows moves the highlight bar up or down the list an item at a time. Holding
- the button down on the arrows will scroll the list continuously. To make
- bigger jumps, pick any position on the scroll bar to reposition the slider box.
- The slider box can be dragged by holding the button down and moving it along
- the scroll bar.
-
- Make a selection from the pick list by highlighting it and pressing [Enter], or
- by picking any displayed selection with the mouse. To exit the pick list
- without making a selection, press [Esc], click the right and left mouse buttons
- simultaneously, or pick the exit button with the mouse.
-
- STYLE PICK LIST The text style pick list pops up whenever you issue a change
- style command. All styles previously defined in the AutoCAD drawing appear in
- the list.
-
- SPELLING PICK LIST The spell checker pick list pops up when you ask for
- suggested spellings or look up similar words. It can contain anywhere from one
- to eighteen suggestions.
-
- FILE PICK LIST The file pick list is available at start up when editing text
- files, and at the Open and Import file commands. To display the pick list,
- enter a directory and/or a wildcard in lieu of a file name. The global "*.*"
- wildcard is assumed if no other wildcard is given. The current directory is
- assumed if no other path is given. File names are displayed in lower case,
- subdirectories are capitalized in a different color. The directory tree can be
- traversed by picking a subdirectory name from the list. To move towards the
- root, pick the parent directory (..\). To change drives, escape from the pick
- list and enter the new path at the file name prompt.
-
- 6.9 SORTING ORDER
- ------------------
- Cadet displays text in a linear list, with each entity occupying one line of
- the editor. In MIXED and TABLE editing modes, the order in which the text is
- presented is important. Cadet can display text in up to three orders.
-
- ROW Sorted by rows
- COL Sorted by columns
- PICK As picked (MIXED editing mode only)
-
- Pick is unsorted, text entities are displayed in the order you select them, and
- attributes in the order they are encountered in the block definition.
-
- Text sorting is performed on the basis of the entities' XY coordinates relative
- to the UCS plane. The tolerance used in row/column definitions can be adjusted
- by setting Cadet's table tolerance factor, see CONFIGURATION and CADET-OPTIONS.
-
- Cadet defaults to using the insert point for the sort coordinates, rather than
- the text's lower left coordinates. You can use the lower left coordinates for
- sorting in MIXED editing mode, see CONFIGURATION and CADET-OPTIONS.
-
- Cadet's default sort order can be changed with the INSTALL program (see
- CONFIGURATION). The sort order can also be changed on the fly with the
- editor's [Ctrl-O] {Display|Sort Order} command. Depending on the block's
- design, attributes are sometimes easier to edit when displayed in Pick order.
-
-
- Some text tables are easier to read in Column order, while others are more
- suited to Cadet's Row order. When tables are sorted according to the direction
- of associations, it is fairly simple to follow the table in linear format. The
- [Ctrl-V] view position command can be used to display the relative position of
- a portion of the table and gain perspective.
-
- 6.10 DELETING TEXT
- -------------------
- Cadet has many ways to delete text besides the familiar [BkSp] and [Del] keys.
-
- [Ctrl-BkSp] {Editing|Erase Word} Delete word at cursor
- [Ctrl-End] {Editing|Erase to End} Delete to end of line
- [Ctrl-Home] {Editing|Erase to Home} Delete to beginning of line
- [Ctrl-A] {Editing|Erase All} Erase (blank out) line
- [Ctrl-D] {Editing|Delete line} Delete line
- [Ctrl-M] {Block|Mark block} Mark and delete text block
-
- With the exception of the last two (delete line and delete block), these
- methods of deleting text are local commands - they only affect the current
- line. The delete line and delete block commands are global, and are covered in
- more detail in following sections of the manual. Text effected by local
- commands can be restored if necessary. If you have not moved from the line or
- used a global command since editing, pressing [Esc] will undo the erasure.
-
- 6.11 DELETING TEXT LINES
- -------------------------
- [Ctrl-D] {Editing|Delete line} is Cadet's delete line command. Not only does
- it erase the line, the delete line command is capable of pulling up the text
- below to fill the gap. The [Ctrl-BkSp] command and the [Del] key are also used
- in certain situations to delete empty lines and carriage returns. The delete
- line command is global in nature - it affects more than just the current line.
- [Esc] cannot undo deleted lines.
-
- Certain effects of the delete line command vary depending on which Cadet
- editing mode is in effect. These differences are examined below.
-
- NOTES and FILE MODE In both NOTES and FILE editing modes, Cadet behaves
- similar to most ordinary text editors. Regardless of the cursor position,
- [Ctrl-D] deletes the entire line. The emptied space is filled as all lines
- below pull up one position. Pressing [Del] or [Ctrl-BkSp] at the end of a
- line, or on an empty line, deletes the carriage return and joins the line below
- to the cursor position.
-
- MIXED MODE Text positions are critical in MIXED editing mode - you rarely
- want other text repositioned due to a line being deleted. Generally, the
- [Ctrl-A] command should be used in lieu of [Ctrl-D] - it erases lines without
- affecting others. To protect the user from against accidental text
- repositioning, delete line commands require confirmation (unless disabled - see
- CONFIGURATION). In other respects, these commands behave as they do in NOTES
- mode. Please note, however, that the flow of the text being pulled up is
- dependent on the sort order in effect when the line is deleted. You should
- always check the sort order first to ensure you get the desired results.
-
- TABLE MODE In TABLE editing mode, the delete line command is specialized for
- editing multiple column tables. In this mode, [Ctrl-D] gives you the choice to
- delete a full row from the table, or to delete a single line. Deleting a table
-
-
- row removes the entire row in which the line is a member, regardless of the
- number of columns. The remainder of the discussion of delete line commands
- concern TABLE mode.
-
- The effects of a single line deletion depends on the sort order. When deleting
- a single line from a table, its effect is limited to its member group (row or
- column). The remaining lines in the group are pulled up, but text outside the
- group is unaffected. [Del] and [Ctrl-BkSp] do not delete lines in TABLE mode.
-
- 6.12 INSERTING TEXT LINES
- --------------------------
- The [Ctrl-I] {Editing|Insert line} command inserts a new line into the group at
- the cursor position, pushing existing text down. Only text above and to the
- right of the cursor is pushed down. If the cursor is someplace in the middle
- of the text, the text will break at the cursor position.
-
- In Insert mode, the [Enter] key also adds a carriage return and creates a new
- line (if so configured). This default behavior can be changed if desired, see
- EDITOR SETTINGS and CONFIGURATION.
-
- The [Ctrl-I] command is global in nature as it affects more than just the
- current line. [Esc] cannot automatically undo changes made by [Ctrl-I], but
- line breaks and new lines are easily deleted.
-
- Like the delete line command, certain effects of the [Ctrl-I] command vary
- depending on which editing mode is in effect. These variations are described
- below.
-
- NOTES and FILE MODE In both NOTES and FILE editing modes, Cadet behaves
- similar to most ordinary text editors. In these modes, pressing [Enter] when
- the insert mode is on has the same effect as the [Ctrl-I] command described
- above. When overwrite mode is on, pressing [Enter] has no effect other than
- moving the cursor down and home.
-
- MIXED MODE In MIXED editing mode, you rarely want text repositioned as a
- result of editing. The NOTES or TABLE interfaces should be used for the kind
- of editing that involves reformatting text positions. To protect the user from
- against accidental text repositioning, insert line commands require
- confirmation (unless disabled - see CONFIGURATION).
-
- In addition, since the MIXED editing interfaces are not capable of creating new
- text entities, the insert line command requires that there be a blank line at
- the bottom of the document. A warning is printed if there is no room to insert
- a line. In other respects, the [Ctrl-I] and [Enter] commands behave as they do
- in NOTES mode.
-
- TABLE MODE In the TABLE editing mode, the insert line command is specialized
- for multiple column tables. In this mode, [Ctrl-I] gives you the choice to
- insert a full row into the table, or to insert a single line. When you insert
- a row, an entire new row of table cells is inserted. In TABLE mode, the
- [Enter] key does not insert lines, regardless of Insert mode. The remainder of
- the discussion of insert line commands concern TABLE mode.
- When you insert a single line in TABLE mode, the line is inserted in either the
- row or column, depending on the sort order. To preserve the integrity of the
- table, the effect of inserting a single line is limited to its member group
- (row or column). Text lines below which belong to the group are pushed down,
-
-
- text lines outside the group are unaffected. This means that the last column
- in the row must be empty - a warning is printed if there is no room to insert
- the line into a particular group. If you need to create room, insert a new
- bottom row before inserting the line.
-
- In TABLE mode, insert does not break lines at the cursor position. New lines
- and rows are normally inserted above the current position. To make the new
- line insert below the current line, position the cursor past the end of the
- text. To make a new row insert below the current row, move to the last column
- in the row and position the cursor past the end of the text.
-
- 6.13 BLOCK OPERATIONS, CUT-and-PASTE
- -------------------------------------
- Cadet performs several block operations on partial or multiple lines of text.
-
- o Move blocks of text from one position or file to another.
- o Copy blocks of text from one position or file to another.
- o Write blocks of text to a new file or append blocks to an existing file.
- o Delete blocks of text.
- o Change the case, height or style of blocks of text.
-
- Blocks can be marked with either keyboard or mouse. The keyboard block marking
- mechanism is the [Ctrl-M] {Block|Mark block} command. Move the cursor to one
- end of the text you wish to mark and press [Ctrl-M] or the menu equivalent.
- Marked text will highlight. You then use the cursor keys or other text
- positioning commands to move the cursor to the other end of the block. Press
- [Enter] when the desired text is highlighted.
-
- To mark a block with a mouse, place the mouse cursor at one end of the text you
- wish to mark. Press and hold the left mouse button, and drag the mouse cursor
- to the other end. Marked text will highlight. If a portion of the block is
- off-screen, just continue to drag the mouse in the desired direction - the text
- will scroll or pan when the mouse cursor reaches a screen border. When the
- desired text is highlighted, release the mouse button.
-
- Once a block has been marked, you are given the following options:
-
- <Copy>/Cut/Delete block or Uppercase/Lowercase/Juggle case/Height/Style?
-
- The height and style options are for AutoCAD text only, and do not appear in
- FILE editing mode. Select an action by pressing the highlighted hot key or
- picking the desired choice from the prompt line with a mouse.
-
- The simplest block operation is deletion. Choose Delete, and it is removed.
- Be careful though, deleted blocks cannot be restored. When blocks are removed,
- any text below moves up to fill the vacated area.
-
- Copy and cut-and-paste operations are similar. Choose Cut to remove the marked
- block for restoration elsewhere. If you want to leave the original block in
- place, choose Copy to make a copy of the block for later insertion elsewhere.
-
- The copy and cut operations use a temporary holding area called the block
- buffer to store the text. Any prior contents of the block buffer are
- overwritten as new text is copied or cut into it, so you need to complete a
- block operation before starting another. The buffer contents can either be
- inserted into the document or written to a text file.
-
-
- To complete a copy or cut-and-paste operation, position the cursor where you
- want to insert the block and press [Ctrl-C] {Block|Copy block}. The inserted
- block will displace any text to the right and below. To write or append the
- stored block to a text file, press [Ctrl-B] {Block|Write block} and enter a
- filename.
-
- Keep in mind that after copying or pasting, the block still exists in the
- buffer. It remains there until you exit Cadet or another block replaces, even
- if another file is opened in the meantime. This can be handy at times. It
- allows you to copy or move text from one file to another, or to store and
- insert often repeated phrases. Suppose you are writing some notes where your
- company name "International Computer Aided Drafting Services, Inc." appears
- several times. To avoid retyping it each time, mark and copy it into the
- buffer the first time you enter it. Wherever you need it again, press [Ctrl-C].
-
- Other block options are used to change properties of marked text and do not
- affect the block buffer. Uppercase and Lowercase perform obvious functions.
- Juggle case swaps upper to lower and lower to upper. The Height and Style
- options are for AutoCAD text only. These options change the properties of
- lines even if only partially marked, since AutoCAD will not allow different
- heights or styles to be mixed in a single text entity.
-
- 6.14 SEARCH-AND-REPLACE, FIND TEXT
- -----------------------------------
- Search-and-replace replaces one text string with another. The text string can
- be a character, word, phrase or complete line of text. The entire document can
- be searched, and you can pick and choose the matches you wish to replace.
-
- Most of the usual editing functions are available when entering search strings.
- When repeating searches, the strings last entered appear as defaults. Press
- [Enter] to accept the default, or type in something different - the default
- string automatically clears if the first key pressed is not a cursor key.
-
- Press [Ctrl-R] {Search|Replace text} to start a search-and-replace process.
- You are first prompted for the old text string, enter the string you wish to
- replace. Next, you are prompted for the new string. If you simply want to
- delete all occurrences of the old string, leave the new string blank. The next
- prompt is for search options.
-
- [ ] Ignore case [ ] Whole words [ ] Global search
-
- The check boxes can be toggled on and off by picking them with a mouse or
- pressing the corresponding hot key. Ignore case toggles case sensitive
- searching. Whole words toggles whole word and embedded string searching.
- Global search toggles global and forward searching. Global searching scans the
- entire document from the top, forward searching finds the first match from the
- cursor position.
-
- After the desired options are set, press [Enter] to begin. When a match is
- found, it is highlighted and you are presented with the following options.
-
- Replace? <Yes>/No/Quit/All
-
- Responding No causes the old text to be skipped without change, and the search
- resumed if global. Pressing [Enter] or responding Yes causes the old text to
-
-
- be replaced by the new text. Again, global searches are resumed. If you want
- to abort the search, choose Quit. To replace all matches with no further
- questions, choose All. Use care with the All option, there is no undo function
- available for replaced text.
-
- To simply find a word or phrase, use the [Ctrl-F] {Search|Find text} command.
- It works much like the search-and-replace function. Enter the string you're
- looking for and check the appropriate search options. As matches are found in
- global searches, you are given the option to continue the search or stop at the
- current document position.
-
- 6.15 CHANGING CASE, HEIGHT AND STYLE
- -------------------------------------
- You can quickly change text case, height, or style on a line-by-line or global
- basis. The commands work similarly. You are first asked if you want to
- perform the change to the line or document. If you choose Line, the change is
- made only to the current line. If you choose Document, the change is made
- globally to all text in the editor. If necessary, you can undo a line change
- by pressing [Esc], but not a global change.
-
- Changing the case of text is simple, press [Ctrl-U] {Change|Upper case} to
- change to upper case, [Ctrl-L] {Change|Lower case} to change to lower case, or
- [Ctrl-J] {Change|Juggle case} to switch upper and lower cases.
-
- The text height of the line at the cursor position is displayed on the status
- line. To change text height, press [Ctrl-H] {Change|Height}. Enter the new
- height as a real number (use decimals, not architectural units or fractions).
- If you should enter an invalid number, the entry is cleared and the prompt
- repeats. Press [Enter] when you've finished. Note, to protect AutoCAD's
- intent, height changes of fixed height text styles are not allowed. If
- necessary, you can change to a non-fixed style first, then change the height.
-
- To change a text font style, press [Ctrl-S] {Change|Style}. A pick list of all
- currently defined text styles appears, in alphabetical order. Use the cursors
- or mouse scroll bar to pick the desired style (see PICK LISTS for details).
-
- 6.16 CHANGING LINE SPACING
- ---------------------------
- In TABLE and NOTES editing mode, you can change the line spacing, or pitch, of
- the text with the [Ctrl-N] {Change|Line space} command. When prompted to enter
- a new spacing, the current pitch is shown as default. Enter the spacing as a
- real number (use decimal, not architectural units or fractions). If an invalid
- number is entered, the prompt repeats.
-
- This command will not allow you to change the spacing when using the Auto pitch
- option, since the Auto feature scales the pitch on the basis of the height of
- individual lines.
-
- 6.17 IMPORTING AND EXPORTING TEXT
- ----------------------------------
- You can import and export text to and from the editor with the [Ctrl-XI] and
- [Ctrl-XE] {File|Import} and {File|Export} commands. Import reads text into the
- editor, Export writes text out to a text file. You prompted to supply a file
- name, to which you may add a drive and path. When importing files, you can
- select file names from a pick list (see PICK LISTS for details). If you export
- to an existing file, you are asked if you want to overwrite it or append it.
-
-
- You can use import in any Cadet editing mode, being limited only by the amount
- of space or memory available. Imported text is inserted into the document
- beginning at the current line. If you have multiple columns, the text is
- inserted following the flow of the current sort order. If there is
- insufficient room or memory, imported text is truncated and a warning issued.
-
- For normal text exports in TABLE and MIXED editing modes, the contents of the
- editor are written out in the order they appear in the editor. Be sure and
- sort the text as required with the editor's [Ctrl-O] command before exporting.
- When editing AutoCAD text, any special characters are translated to the
- appropriate "%%" codes as the text is written out to file.
-
- In TABLE editing mode, you have an export option to write comma delimited data
- files. Each table cell is enclosed by double quotes in a format suitable for
- importing into a spreadsheet or data base. Any existing double quotes in the
- text are stripped out in the process.
-
- When you use the editor solely for the purpose of exporting text from AutoCAD,
- it is simplest to exit Cadet with the [Ctrl-Q] command. Exited in this manner,
- the Cadet interface in AutoCAD will not have to inspect each line for changes.
-
- 6.18 PRINTING
- --------------
- To print a document from Cadet, use the [Ctrl-Y] {Tools|Print hard copy}
- command. The contents of the editor are sent to the printer as is, with no
- additional formatting. A form feed is issued at the end to eject the last
- page. If necessary, you can press [Esc] to stop the printing process.
-
- 6.19 SPELL CHECKING
- --------------------
- To check spelling, use the [Ctrl-P] {Tools|Spell check} command. You have the
- option of checking the current word or the entire document. When questionable
- spellings are found, you are presented with the following prompt.
-
- Unrecognized. <Suggest spell>/Edit word/Add to dictionary/Ignore all/skip Once:
-
- Select an action by pressing the highlighted hot key or picking the desired
- choice with a mouse. Choose skip Once to ignore a single occurrence of a word,
- or Ignore all to skip it and all future occurrences. Use Edit word to make
- manual corrections, new spellings are automatically rechecked. The Add to
- dictionary option allows you to add words to the Cadet user dictionary.
-
- The default Suggest spell option presents a pick list of up to eighteen words.
- Use the cursor keys or mouse scroll bar to make a selection (see PICK LISTS for
- details). Options to edit, ignore or add the word to the dictionary are still
- available. If you do not see your word in the list, use Edit word to try
- another guess of the spelling, and ask for suggestions again.
-
- When checking single words, you have a look-up option even if the tested word
- is spelled correctly. This is handy if you suspect you have misused a word.
-
- Note: Although default settings are usually satisfactory, Cadet's spell
- checker cache size can be adjusted. See the CONFIGURATION chapter for details.
- Hint: To spell check an entire AutoCAD drawing, try the Cadet-Edit Global
- interface. It is much faster than windowing text for the general Cadet-Edit.
-
-
- 6.20 WORD WRAP AND REFORMAT
- ----------------------------
- Cadet's word wrap and paragraph reformat features are available both NOTES and
- FILE editing modes. Default word wrap settings can be configured with the
- Cadet INSTALL program, although the default right margin is overridden in
- certain cases. When opening new text files, the margin is set to the length of
- the longest line read. When creating text in AutoCAD with Cadet-Notes, you can
- set the margins by using Cadet's special Wrap or Bound justification option.
-
- You can turn word wrap on, off or change the margin with the [Ctrl-W]
- {Tools|Word wrap} command. Enter the column position for the right margin,
- measured in the number of characters from flush left. Enter the number zero to
- turn word wrap off. The right margin can not be set less than 10 characters
- from the left margin.
-
- As you enter text with word warp on, the text automatically breaks at the
- closest word within the designated margins, and wraps to the line below.
- Automatic word wrapping continues as long as you keep typing in new text.
- Several settings effect the way these lines are wrapped. If Justify is on,
- extra spaces are padded into the line to make it flush right. Conversely, if
- Squeeze mode is active, excess spaces are removed from each line before
- wrapping. If AutoIndent mode is on, new lines wrap to the indentation level of
- the line above. If AutoIndent is off, new lines wrap to the home position.
- See the EDITOR SETTINGS chapter for more detail on these settings.
-
- To complete a paragraph, either skip a blank line or use the [Enter] key to
- insert a hard carriage return. The [Ctrl-I] and [Ctrl-Enter] commands also
- produce hard returns. Cadet uses hard returns as paragraph separators, and
- displays them on the screen as solid rectangles. These hard return marks are
- visual aids only, and are not permanent.
-
- Word wrap is automatic when typing new lines of text, but not when editing
- previously entered text. Wrapping occurs only when the cursor passes the
- maximum extents of the right margin. When margins become disfigured due to
- subsequent editing, use the reformat command, described next.
-
- You can reformat existing text with the [Ctrl-G] {Tools|Reformat Group}
- command, choosing one of three text groups; Paragraph, Document, and Remaining
- paragraph. The Paragraph and Document options work as their names imply,
- honoring the established paragraph boundaries. The option Remaining paragraph
- reformats from the current cursor position to the end of the paragraph, and
- indents each line to match the current one.
-
- The Squeeze and Justify modes effect reformatting in the same way they effect
- word wrap. AutoIndent effects the format as well. When active, the left
- margin is established by the indentation level of the second line of the
- paragraph - leaving the format of leading indentations, bulleted or numbered
- paragraphs intact. When inactive, left margins are ignored.
-
- If your document is formatted such that different paragraphs have different
- right margins, you must reformat them individually rather than by document. To
- merge paragraphs, remove the separators (hard returns or blank lines) and
- reformat. Hard returns can be removed with the [Del] or [BkSp] keys, and
- blanks lines may be removed with the [Ctrl-D] delete line command.
-
-
- 6.21 ZOOM TOGGLE
- -----------------
- Cadet's zoom function is a condensed 43/50 line text mode for VGA/EGA displays.
- Normal text display is 80 columns by 25 lines. VGA displays have an additional
- 50 line mode. EGA displays have a corresponding 43 line mode. Use the
- [Ctrl-Z] {Display|Zoom EGA/VGA} command to switch display modes. This is a
- toggle command, executing it again returns to the previous mode.
-
- 6.22 VIEW RELATIVE TEXT POSITIONS
- ----------------------------------
- In Cadet's MIXED and TABLE multiple column editing modes, you can view the
- position of text entities relative to one another with the [Ctrl-V]
- {Display|View position} command. While you cannot edit the text in this
- viewer, it should quickly orient you on the row and column sorting scheme.
- Text may not be displayed in its entirety - large tables and long text lines
- are truncated to fit the screen. To exit to normal editing mode, press [Esc].
-
- 6.23 FILE AND EXIT FUNCTIONS
- -----------------------------
- To save your changes and exit the Cadet text editor, use the [Ctrl-E]
- {File|End/save} command. The [F2] {File|Save} command allows you to make
- intermediate file saves while you continue editing. To abort all changes since
- the last save and exit, use the [Ctrl-Q] {Exit|Quit} command. You are asked
- for confirmation when you use the quit command. Other file related commands
- (described in earlier sections) are [Ctrl-B] {Block|Write block}, [Ctrl-XE]
- {File|Import} and [Ctrl-XI] {File|Export}.
-
- The file commands described above are available in all Cadet editing modes.
- Upon exiting the editor, you are returned to the environment from which you
- started. If Cadet is being used in AutoCAD, the text is updated upon return.
-
- Other file functions are available when editing text files in Cadet's FILE
- editing mode. The [F4] {File|Save as} command allows you to save the file to a
- different path or name, and continue editing. The [F3] {File|Open} command
- allows you to open a new or different file for editing. You will be prompted
- to save the original file before it is replaced in the editor.
-
- 7.0 QUICK COMMAND REFERENCE
- ============================
- 7.1 AUTOCAD FUNCTIONS
- ----------------------
- CC Cadet-Create Table Create multiple column text tables.
- CN Cadet-Notes Create notes or single columns text.
- CM Cadet-MultiText Enter multiple text lines at any spacing.
- CP Cadet-PlusText Add to existing text, same properties.
- CI Cadet-Import Import ASCII text file into the drawing.
- CA Cadet-AlignText Vert. straighten crooked text columns.
- CJ Cadet-JustifyText Change existing text justification.
- CS Cadet-SetText Set text defaults by picking sample.
- CEN Cadet-Edit Notes Edit drawing notes in the Cadet editor.
- CET Cadet-Edit Table Edit multi-column tables in Cadet editor.
- CEA Cadet-Edit Attrib. Edit attributes in the Cadet editor.
- CE Cadet-Edit General-purpose text & attribute editing.
- CEG Cadet-Edit Global Edit entire text of drawing at once.
- CX Cadet-External File Edit text files from within AutoCAD.
- CO Cadet-Options Temporarily modify Cadet configuration.
-
-
- 7.2 EDITOR CURSOR MOVEMENTS
- ----------------------------
- [Left] Move left one space.
- [Right] Move right one space.
- [Up] Move up one line.
- [Down] Move down one line.
- [Enter] Move down one line to home position, breaks line or adds new line
- and hard return if insert mode is on.
- [Ctrl-Left] Move left one word.
- [Ctrl-Right] Move right one word.
- [Home] Move to the beginning of a text line, or top of a list.
- [End] Move to the end of a text line, or bottom of a list.
- [Tab] Move right to the next tab stop (see Smart and Fixed Tabs).
- Pushes text right if insert mode is on.
- [Shift-Tab] In Fixed Tab mode, move left to the next tab stop.
- [PgUp] Move up one page.
- [PgDn] Move down one page.
- [Alt-B] {Search|Col/row Bot} Move to bottom of row or column.
- [Alt-G] {Search|Go to line} Go to the specified line number.
- [Alt-T] {Search|Col/row Top} Move to top of row or column.
- [Ctrl-PgUp] {Search|Head of doc} Move to the top of the document.
- [Ctrl-PgDn] {Search|End of doc} Move to the bottom of document.
-
- 7.3 SPECIAL SYMBOLS AND CHARACTERS
- -----------------------------------
- [Alt-O] Overscore toggle %%o (bold up arrowhead)
- [Alt-U] Underscore toggle %%u (bold down arrowhead)
- [Alt-D] Degrees symbol %%d
- [Alt-P] Plus/minus symbol %%p
- [Alt-C] Circle diameter symbol %%c
- [Alt-S] Protected space indicator (small dot)
- [Ctrl-Enter] Hard return indicator (solid rectangle)
-
- 7.4 EDITOR SETTINGS
- --------------------
- [Ctrl-TA] {Options|AutoIndent} Turns AutoIndent mode on or off.
- [Ctrl-TC] {Options|Confirm Ins} In MIXED editing mode, turns insert and
- delete confirmation prompts on or off.
- [Ctrl-TI] {Options|CR Inserts} Controls whether [Enter] makes new lines when
- used in insert mode.
- [Ctrl-TJ] {Options|Justify} Sets full justification in Cadet's NOTES and
- FILE editing modes.
- [Ctrl-TM] {Options|Tab mode} Select Smart Tabs or Fixed Tabs.
- [Ctrl-TQ] {Options|Squeeze} Set Squeeze mode for word wrap.
- [Ctrl-TS] {Options|Tab size} Set tab size for Fixed Tab stops and tab
- translation when file is read.
- [Ctrl-TT] {Options|Type speed} Change cursor speed.
- [Ctrl-W] {Tools|Word wrap} Sets right margin for word wrap in NOTES and
- FILE editing modes. Zero turns it off.
-
- 7.5 EDITING KEYS AND COMMANDS
- ------------------------------
- [Ctrl-Enter] Adds hard carriage return, shown as a solid rectangle.
- [Ctrl-BkSp] {Editing|Erase word} Delete the word at cursor position.
- [Ctrl-End] {Editing|Erase to end} Deletes from cursor to the end of line.
-
-
- [Ctrl-Home] {Editing|Erase to home} Deletes to the beginning of the line.
- [F1] {Display|Help screen} Display help.
- [F2] {File|Save} Save text to file and continue editing.
- [F3] {File|Open} Open new or different text file for editing.
- [F4] {File|Save as} Save text file to different name or path.
- [F10] Activate pull-down menus, for keyboard use.
- [Ins] Toggle insert/overwrite mode.
- [Esc] An undo command, also used to abort pending commands. [Esc] also
- can undo changes to a single line if pressed before leaving
- current line or using a global command.
- [Del] Delete the character above the cursor.
- [BkSp] Delete the character to the immediate left of the cursor.
- [Alt-A] {Display|About Cadet} Display Cadet information screen.
- [Ctrl-A] {Editing|Erase all} Erase entire line of text.
- [Ctrl-B] {Block|Write block} Write the block buffer to file.
- [Ctrl-C] {Block|Copy block} Copy (paste) the block from the block buffer.
- The buffer must first be filled using [Ctrl-M].
- [Ctrl-D] {Editing|Delete line} Deletes text line. In TABLE mode, deletes
- line or row. Text below is pulled up.
- [Ctrl-E] {File|End/save} End, save changes.
- [Ctrl-F] {Search|Find text} Find text string.
- [Ctrl-G] {Tools|Reformat group} Reformat text group in NOTES or FILE mode.
- [Ctrl-H] {Change|Height} Change AutoCAD text height.
- [Ctrl-I] {Editing|Insert line} Inserts new line. In TABLE mode, inserts
- line or row. Text below is pushed down.
- [Ctrl-J] {Change|Juggle case} Change case, upper to lower, lower to upper.
- [Ctrl-L] {Change|Lower case} Change text to lower case.
- [Ctrl-M] {Block|Mark block} Mark a text block. Cut and paste, copy or
- delete the block, or change its case, height or style. Copied and
- cut blocks are moved into a buffer, see [Ctrl-C] and [Ctrl-B].
- [Ctrl-N] {Change|Line space} Change pitch (spacing) of AutoCAD text in
- NOTES and TABLE editing modes.
- [Ctrl-O] {Display|Sort order} Change Column/Row sort order in TABLE mode,
- Column/Row/Pick order in MIXED mode.
- [Ctrl-P] {Tools|Spell check} Check spelling, word or document.
- [Ctrl-Q] {File|Quit} Quit, abandon any changes since last save.
- [Ctrl-R] {Search|Replace text} Search-and-replace text.
- [Ctrl-S] {Change|Style} Change AutoCAD text style.
- [Ctrl-U] {Change|Upper case} Change text to upper case.
- [Ctrl-V] {Display|View position} View relative text positions in TABLE and
- MIXED editing modes.
- [Ctrl-XE] {File|Export} Export document to ASCII file.
- [Ctrl-XI] {File|Import} Import an ASCII text file into editor.
- [Ctrl-Y] {Tools|Print hard copy} Prints hard copy of document.
- [Ctrl-Z] {Display|Zoom EGA/VGA} Zoom to 43 or 50 line display.
-
-
- 8.0 PROBLEMS AND ERROR MESSAGES
- ================================
- This section illustrates some of the problems which can occur when initially
- setting up Cadet, or after making changes to your disk directories or hardware.
- You should begin by first reviewing the INSTALLATION AND CONFIGURATION chapter
- of this manual, then trying some of the solutions shown below before calling
- technical support. Chances are, the solution is simple, and in many cases can
- be accomplished by merely reinstalling Cadet.
-
-
- AUTOCAD INTERFACES DO NOT LOAD
- ------------------------------
- "Unknown command" If this message occurs immediately after entering a Cadet
- command, either Cadet has been improperly installed or you have made some
- changes on your system (such as upgrading AutoCAD or adding another 3rd party
- application) which effected Cadet's installation. To correct this, reinstall
- with Cadet's INSTALL program.
-
- ??? If you get an unexpected function after entering a Cadet command, you
- have a name conflict with some other custom routine. To correct this, run
- Cadet's INSTALL program and change the name of the conflicting Cadet function
- (see CONFIGURATION, CADET COMMAND NAMES).
-
- CADET STARTS, BUT FAILS BEFORE COMPLETION
- -----------------------------------------
- "Unknown command" and "Bad command or file name" When Cadet starts OK, but
- one of these messages occurs at the point the text editor is expected, it
- indicates a missing or improper Cadet installation in the ACAD.PGP file. To
- correct this, reinstall with Cadet's INSTALL program.
-
- "Transfer file not found" Cadet reports this message when there is a disk
- full problem or an improperly set CADET environment variable for a ram disk or
- network setup. It could also result from a MS-DOS APPEND, ASSIGN, or SUBST
- command used inappropriately. See the INSTALLATION AND CONFIGURATION section,
- and review your drive and path setup.
-
- "EXEC failure", "Cannot execute CADET.EXE" & "Insufficient memory" These
- messages indicate a lack of available memory. See the MEMORY PROBLEMS section,
- below, applicable to your version of AutoCAD.
-
- "Insufficient node space" and "Insufficient string space" See the MEMORY
- PROBLEMS section, below, applicable to your version of AutoCAD.
-
- MEMORY PROBLEMS, AUTOCAD 286
- ----------------------------
- Memory problems which may occur with 286 versions of AutoCAD are described in
- this section, along with suggested corrective actions. If Cadet fails, always
- flip to the text screen to see if an error message was reported.
-
- "Insufficient memory -- AutoLISP disabled" You have too many TSR (Terminate
- and stay resident) programs loaded, leaving insufficient memory for AutoLISP.
- See INCREASING CONVENTIONAL DOS MEMORY, below.
-
- "Insufficient node space" and "Insufficient string space" Cadet v5.0 requires
- Extended AutoLISP for 286 versions of AutoCAD - if you are not using it, do so.
- If Extended AutoLISP is being used and you still experience the problem, try to
- make more memory available to AutoLISP. AutoCAD's LISPXMEM setting controls
- Extended AutoLISP memory, and the AutoLISP function (VMON) can be used to
- enable virtual function paging. Refer to your AutoLISP Programmer's Reference
- for details of these and other means of memory management. Note: Extended
- AutoLISP prior to AutoCAD R10 revision c7 has poor compatibility with modern
- memory managers.
-
- "EXEC failure" and "Cannot execute CADET.EXE" When DOS reports these
- messages, it indicates that you must free more memory in your system. See the
- section INCREASING CONVENTIONAL DOS MEMORY, below.
-
-
- "Insufficient memory error" Cadet reports this message when it is asked to
- load an unusually large amount of text. To make AutoCAD 286 release more
- memory to Cadet, increase the memory reserve figures in the Cadet command lines
- in your ACAD.PGP file. Try raising the memory reserve 25000 bytes at a time,
- retesting after each change.
-
- CADET5,C:\CADET\CADET,325000,*,4
- ~~~~~~
- Since AutoCAD can not give any more than it receives, you may also need to use
- the techniques described in the section INCREASING CONVENTIONAL DOS MEMORY,
- below.
-
- MEMORY PROBLEMS, AUTOCAD 386
- ----------------------------
- Memory problems which may occur with 386 versions of AutoCAD are described in
- this section, along with suggested corrective actions. These error messages
- are more likely to surface with AutoCAD R10 and R11 than with R12. If Cadet
- fails, always flip to the text screen to see if an error message was reported.
-
- "EXEC failure", "Cannot execute CADET.EXE" & "Insufficient memory" When DOS
- or Cadet reports these messages under AutoCAD 386, it indicates that you must
- free more memory in your system. See the section INCREASING CONVENTIONAL DOS
- MEMORY, below. If you are running AutoCAD 386 R11, the first thing you should
- do is use Autodesk's NEWDX utility to update the R11 Phar Lap DOS Extender with
- a newer, smaller kernel version. The NEWDX program and documentation file is
- shipped with R11 revision c2, and is available from dealers and CompuServe's
- ACAD forum.
-
- INCREASING CONVENTIONAL DOS MEMORY
- ----------------------------------
- A significant amount of conventional memory is often consumed by drivers and
- TSR programs. Use a memory manager such as EMM386, QEMM, 386MAX, or NETROOM to
- load them into upper memory blocks. If you are using MS-DOS 5 or 6, load DOS
- itself high for a significant gain. If a TSR is not absolutely necessary,
- consider either eliminating or unloading it.
-
- You can also use a shell utility to recover the memory AutoCAD holds back for
- itself when it shells out to applications such as Cadet. There are at least
- two commercial shell utilities which will do the job (see your dealer), and one
- named SHROOM which Autodesk ships with R11 and R12. A shareware version of the
- SHROOM utility can be found in CompuServe's ACAD forum.
-
- DID I CHANGE THAT?
- ------------------
- Occasionally, you may see Cadet change lines of text which you pulled into the
- editor but did not edit. These harmless occurrences are due to either minor
- realignments in text positioning, or Cadet's translation of upper case "%%"
- character codes to lower case. If Cadet has inappropriately translated
- characters from a postscript or third-party font into "%%" characters, disable
- the translation with Cadet's INSTALL program (see CONFIGURATION).
-
- VIDEO PROBLEMS
- --------------
- With some AutoCAD 386 systems with protected mode display list drivers (ADI
- P386 drivers), a problem occurs with garbage being displayed on the screen upon
-
-
- returning to AutoCAD from CADET. The screen garbage is usually in the form of
- short vertical bars, which can be cleaned off the drawing area - but not the
- screen menu area - with a redraw. This is due to the inability of certain
- display list drivers to handle video mode changes. To prevent this, run
- Cadet's INSTALL program to configure Cadet to always start in the current
- (default) video mode. You may also need to avoid Cadet's Zoom EGA/VGA command.
-
- CADET FREEZES
- -------------
- If Cadet freezes when run from AutoCAD (possibly while displaying the message
- "Reading CADET files"), it may be that your current video driver does not
- permit the standard ROM BIOS function calls used to load custom screen fonts.
- This problem does not occur under Windows, only DOS. First try changing or
- updating your AutoCAD video driver. If a different driver is not possible or
- desirable, you can disable Cadet's custom fonts with the following procedure.
-
- Change to the Cadet directory and run INSTALL in Configuration mode. Press
- [Esc] or [F10] to cycle through to the Color Configuration screen. Press [F8]
- to toggle the custom fonts off. The change will be reflected in the scroll bar
- and menu border fonts on the sample Cadet screen. Press [F10] to save the new
- configuration.